1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
package lua.lib.luv;
@:luaRequire("luv")
extern class Loop {
static function loop_close():Bool;
/**
Runs the event loop of libuv.
Haxe compiler automatically inserts a call to this function at the end of user's code if needed.
**/
static function run(?mode:String):Bool;
static function loop_alive():Bool;
static function stop():Void;
static function backend_fd():Int;
static function backend_timeout():Int;
static function now():Int;
static function update_time():Void;
static function walk(cb:Handle->Void):Void;
}
|