module Scheduler_dependent (
Scheduler
:
Import.Basic_scheduler
)
: sig
.. end
type 'a
t = ('a, Scheduler.Execution_context.t) Raw_deferred.deferred
val sexp_of_t : ('a -> Sexplib.Sexp.t) ->
'a t -> Sexplib.Sexp.t
type 'a
detailed = 'a t
val sexp_of_detailed : ('a -> Sexplib.Sexp.t) ->
'a detailed -> Sexplib.Sexp.t
val upon : 'a t -> ('a -> unit) -> unit
val upon' : 'a t -> ('a -> unit) -> Unregister.t
val bind : 'a t ->
('a -> 'b t) ->
'b t
val install_removable_handler : 'a t ->
('a, Scheduler.Execution_context.t) Raw_handler.t -> Unregister.t