Module Process.Channel

Endpoint of a bidirectionnal channel.

type ('sent, 'received) t

A bidirectionnal channel endpoint.

val push : ('sent, 'received) t -> 'sent -> unit Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t

Asynchronously sending a value

val pop : ('sent, 'received) t -> 'received Tezos_base.TzPervasives.Error_monad.tzresult Lwt.t

Waiting for a value.