Module Process.Channel

Endpoint of a bidirectionnal channel.

type ('sent, 'received) t

A bidirectionnal channel endpoint.

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

Asynchronously sending a value

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

Waiting for a value.