Files
LNXSDK/Kha/Tools/macos_arm64/std/lua/lib/luv/Loop.hx
2026-05-21 20:15:16 -07:00

20 lines
534 B
Haxe

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;
}