p2
0.0
|
create and init a Aio_timer
object
More...
Public Member Functions | |
static PN | aio_timer_start (Potion *P, PN cl, PN self, PN cb, PN timeout, PN repeat) |
static PN | aio_timer_stop (Potion *P, PN cl, PN self) |
static PN | aio_timer_again (Potion *P, PN cl, PN self) |
static PN | aio_timer_get_repeat (Potion *P, PN cl, PN self) |
static PN | aio_timer_set_repeat (Potion *P, PN cl, PN self, PN repeat) |
Set the repeat value in milliseconds. Note that if the repeat value is set from a timer callback it does not immediately take effect. If the timer was non-repeating before, it will have been stopped. If it was repeating, then the old repeat value will have been used to schedule the next timeout.