Module P2p_workers.Loop_request

The request for P2P workers is generally not useful. This module can be used as a P2p_request that serve only to loop again and return its result by a callback.

type ('response, 'error) t = ('response, 'error) loop
type view =
  1. | View : ('reponse, 'error) t -> view
include Tezos_base.Worker_intf.REQUEST with type ('response, 'error) t := ('response, 'error) t and type view := view
include Tezos_base.Worker_intf.VIEW with type view := view
val encoding : view Data_encoding.t
val pp : Stdlib.Format.formatter -> view -> unit
val view : ('response, 'error) t -> view

The projection function from full request to simple views.

val default_callback_value : view