libuv
| Kind | ffi-zig |
|---|---|
| Capabilities | ffi net file |
| Categories | async networking ffi |
| Keywords | libuv async io event-loop networking |
Asynchronous I/O library wrapping libuv for Kit
Files
| File | Description |
|---|---|
.editorconfig | Editor formatting configuration |
.gitignore | Git ignore rules for build artifacts and dependencies |
.tool-versions | asdf tool versions (Zig, Kit) |
LICENSE | MIT license file |
README.md | This file |
examples/timer-example.kit | Example: timer example |
kit.toml | Package manifest with metadata and dependencies |
src/error.kit | Libuv error type for typed error handling. |
src/libuv.kit | Libuv error type for typed error handling. |
src/loop.kit | Event loop handle |
src/timer.kit | Module for timer |
tests/libuv.test.kit | Tests for libuv |
zig/callback_registry.zig | Zig FFI module for callback registry |
zig/kit_ffi.zig | Zig FFI module for kit ffi |
zig/libuv.zig | Zig FFI module for libuv |
zig/loop.zig | Zig FFI module for loop |
zig/timer.zig | Zig FFI module for timer |
Dependencies
No Kit package dependencies.
Installation
kit add gitlab.com/kit-lang/packages/kit-libuv.gitUsage
import Kit.LibuvLicense
MIT License - see LICENSE for details.
Exported Functions & Types
LibuvError
Libuv error type for typed error handling. All libuv operations that can fail return Result T LibuvError.
Variants
LibuvError {message}Loop
Event loop handle
Variants
Loop {handle}Timer
Timer handle
Variants
Timer {handle, loop-id}LibuvError
Libuv error type for typed error handling. All libuv operations that can fail return Result T LibuvError.
Variants
LibuvError {message}Loop
Event loop handle
Variants
Loop {handle}