Signal.hx 287 B

1234567891011
  1. package lua.lib.luv;
  2. @:luaRequire("luv")
  3. extern class Signal extends Handle {
  4. static function new_signal() : Signal;
  5. @:native("new_signal") function new() : Void;
  6. function start(sigtype : haxe.extern.EitherType<Int,String>, ?cb : Void-> Void ) : Int;
  7. function stop() : Int;
  8. }