package fuseau
-
fuseau.unix
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val create : unit -> t
A new timer.
type tick_res =
| Wait of float
| Run of Fuseau.Cancel_handle.t -> unit * Fuseau.Cancel_handle.t
| Empty
val run_after :
t ->
float ->
(Fuseau.Cancel_handle.t -> unit) ->
Fuseau.Cancel_handle.t
val run_every :
t ->
float ->
(Fuseau.Cancel_handle.t -> unit) ->
Fuseau.Cancel_handle.t
val has_tasks : t -> bool
val num_tasks : t -> int