Internal_event.MakeBuild an event from an event-definition.
module E : EVENT_DEFINITIONinclude EVENT_DEFINITION with type t = E.ttype t = E.tval section : Section.t optionDefines an optional section for the event.
Warning None is only for legacy events and should not be used in new code.
Defines the identifier for the event. Names should be unique and are restricted to alphanumeric characters or ".@-_+=,~".
Defines the bare identifier for the event.
Since name can be prefixed by the section, simple_name holds the unmodified name provided when creating an event.
val pp : all_fields:bool -> block:bool -> Stdlib.Format.formatter -> t -> unitval encoding : t Data_encoding.tval alternative_color : alternative_color optionval emit :
?section:Section.t ->
t ->
unit Tezos_error_monad.Error_monad.tzresult Lwt.tOutput an event of type t, if no sinks are listening the function won't be applied.