W3cubDocs

/Haxe Lua

Timer

package lua.lib.luv

extends Handle

@:luaRequire("luv") Available on lua

Constructor

@:native("new_timer") new ()

Methods

again ():Int

get_repeat ():Int

set_repeat (repeat:Int):Void

start (timeout:Int, repeat:Int, cb:Void ‑> Void):Int

stop ():Int

Static methods

static new_timer ():Timer

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/lua/lib/luv/Timer.html