package colombe

  1. Overview
  2. Docs

Module State.SchedulerSource

Parameters

module Context : C
module Value : S with type encoder = Context.encoder and type decoder = Context.decoder

Signature

Sourcetype error = Value.error
Sourceval bind : ('a, 'err) t -> f:('a -> ('b, 'err) t) -> ('b, 'err) t
Sourceval (let*) : ('a, 'err) t -> ('a -> ('b, 'err) t) -> ('b, 'err) t
Sourceval (>>=) : ('a, 'err) t -> ('a -> ('b, 'err) t) -> ('b, 'err) t
Sourceval encode : Context.t -> 'a Value.send -> 'a -> (Context.t -> ('b, [> `Protocol of error ] as 'err) t) -> ('b, 'err) t
Sourceval decode : Context.t -> 'a Value.recv -> (Context.t -> 'a -> ('b, [> `Protocol of error ] as 'err) t) -> ('b, 'err) t
Sourceval send : Context.t -> 'a Value.send -> 'a -> (unit, [> `Protocol of error ]) t
Sourceval recv : Context.t -> 'a Value.recv -> ('a, [> `Protocol of error ]) t
Sourceval return : 'v -> ('v, 'err) t
Sourceval fail : 'err -> ('v, 'err) t
Sourceval reword_error : ('err0 -> 'err1) -> ('v, 'err0) t -> ('v, 'err1) t
Sourceval error_msgf : ('a, Format.formatter, unit, ('b, [> `Msg of string ]) t) format4 -> 'a
OCaml

Innovation. Community. Security.