Up
Module
Synccast
Signature
type
'a t
type
interest_status = [
| `Continue
| `Leave
]
val
create : unit -> 'a
t
val
close : 'a
t
-> unit
val
register : 'a
t
-> f:('a ->
interest_status
Async.Std.Deferred.t
) -> unit
val
register_init : 'a
t
-> i:(unit -> unit
Async.Std.Deferred.t
) -> f:('a ->
interest_status
Async.Std.Deferred.t
) -> unit
val
on_update : 'a
t
-> f:('a -> unit) -> unit
val
upon : 'a
t
-> f:('a -> unit) -> unit
val
send : 'a
t
-> 'a -> unit
val
next : 'a
t
-> 'a
Async.Std.Deferred.t
next t
returns the next value in the synccast