package octez-libs

  1. Overview
  2. Docs

The type of messages that are fed to the worker's event loop.

type ('response, 'error) t

The type of events. It is possible to wait for an event to be processed from outside the worker using push_request_and_wait. In this case, the handler for this event can return a value. The parameter is the type of this value.

include VIEW
type view
val encoding : view Data_encoding.t
val pp : Format.formatter -> view -> unit
val view : ('response, 'error) t -> view

The projection function from full request to simple views.

OCaml

Innovation. Community. Security.