Loop.hx 534 B

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