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,21 @@
package eval.luv;
/**
Inter-loop communication.
@see https://aantron.github.io/luv/luv/Luv/Async
**/
@:using(eval.luv.Handle)
@:coreType abstract Async to Handle {
/**
Allocates and initializes an async handle.
The handle should be cleaned up with `eval.luv.Handle.close` when no longer needed.
**/
static public function init(loop:Loop, callback:(async:Async)->Void):Result<Async>;
/**
Triggers a call to the handle's callback by the handle's loop.
**/
public function send():Result<Result.NoData>;
}