Runnable.Syntax
Part of the Runnable
module that is intended to be open
ed.
Makes fields value
and run
available in the environment.
val let*! : ('a, 'b) t -> ('b -> 'c Lwt.t) -> 'c Lwt.t
Same as run
, then continue with the given function.
val let*? : ('a, 'b) t -> ('a -> 'c) -> 'c
Get the value of a runnable and pass it to a continuation.
You can also just access field value
directly.