val _get_local_debug_runtime : unit -> (module Minidebug_runtime.Debug_runtime)type t = | Task : {context_lifetime : 'a;description : Base.string;work : Base.unit -> Base.unit;
} -> t
val sexp_of_t : t -> Sexplib0.Sexp.tval describe : t -> Base.stringval prepend : work:(unit -> unit) -> t -> tval append : work:(unit -> Base.unit) -> t -> tval enschedule :
schedule_task:('a -> t -> Base.unit) ->
get_stream_name:('a -> Base.String.t) ->
'a ->
t ->
t