This commit is contained in:
Dante
2026-05-22 11:48:42 -07:00
parent 0a5075319f
commit 05f197c291
2665 changed files with 198448 additions and 1 deletions

View File

@ -0,0 +1,26 @@
package eval.luv;
/**
Pre-I/O callback.
@see https://aantron.github.io/luv/luv/Luv/Prepare
**/
@:using(eval.luv.Handle)
@:coreType abstract Prepare to Handle {
/**
Allocate and initialize a prepare handle.
The handle should be cleaned up with `eval.luv.Handle.close` when no longer needed.
**/
static public function init(loop:Loop):Result<Prepare>;
/**
Starts the handle with the given callback.
**/
public function start(callback:()->Void):Result<Result.NoData>;
/**
Stops the handle.
**/
public function stop():Result<Result.NoData>;
}