package tezt-tezos

  1. Overview
  2. Docs

Part of the Runnable module that is intended to be opened.

type nonrec ('a, 'b) t = ('a, 'b) t = {
  1. value : 'a;
  2. run : 'a -> 'b Lwt.t;
}

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.

OCaml

Innovation. Community. Security.