libuv

Asynchronous I/O library wrapping libuv for Kit

Files

FileDescription
.editorconfigEditor formatting configuration
.gitignoreGit ignore rules for build artifacts and dependencies
.tool-versionsasdf tool versions (Zig, Kit)
LICENSEMIT license file
README.mdThis file
examples/timer-example.kitExample: timer example
kit.tomlPackage manifest with metadata and dependencies
src/error.kitLibuv error type for typed error handling.
src/libuv.kitLibuv error type for typed error handling.
src/loop.kitEvent loop handle
src/timer.kitModule for timer
tests/libuv.test.kitTests for libuv
zig/callback_registry.zigZig FFI module for callback registry
zig/kit_ffi.zigZig FFI module for kit ffi
zig/libuv.zigZig FFI module for libuv
zig/loop.zigZig FFI module for loop
zig/timer.zigZig FFI module for timer

Dependencies

No Kit package dependencies.

Installation

kit add gitlab.com/kit-lang/packages/kit-libuv.git

Usage

import Kit.Libuv

License

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}