timers can have fractions of seconds as timeout
This commit is contained in:
parent
fb98910116
commit
f9243dbcd2
@ -15,7 +15,7 @@ extern class OS {
|
|||||||
public static function unloadAPI(path:String):Void;
|
public static function unloadAPI(path:String):Void;
|
||||||
public static function queueEvent(type:String, data:Rest<Dynamic>):Void;
|
public static function queueEvent(type:String, data:Rest<Dynamic>):Void;
|
||||||
public static function clock():Float;
|
public static function clock():Float;
|
||||||
public static function startTimer(timeout:Int):Int;
|
public static function startTimer(timeout:Float):Int;
|
||||||
public static function cancelTimer(id:Int):Void;
|
public static function cancelTimer(id:Int):Void;
|
||||||
public static function time():Float;
|
public static function time():Float;
|
||||||
public static function sleep(timeout:Float):Void;
|
public static function sleep(timeout:Float):Void;
|
||||||
|
Loading…
Reference in New Issue
Block a user