Module Message.Ev
Message events.
Message event object
The type for MessageEvent and ExtendableMessageEvent objects.
val as_extendable : Brr_io.Message.Ev.t -> Brr.Ev.Extendable.tas_extendable e is e as an extendable event. Warning. only for ExtendableMessageEvents objects.
val data : Brr_io.Message.Ev.t -> 'adata e is the data send by the emitter. Warning. Unsafe, make sure to constrain the result value to the right type.
val origin : Brr_io.Message.Ev.t -> Jstr.torigin e is the origin of the message emitter.
val last_event_id : Brr_io.Message.Ev.t -> Jstr.tlast_event_id e is a unique id for the event.
val source : Brr_io.Message.Ev.t -> Jv.t optionsource e is the message emitter.
val ports : Brr_io.Message.Ev.t -> Brr_io.Message.Port.t listports e is a list of ports associated with the channel the message is being send through (if applicable).
Events
val message : Brr_io.Message.Ev.t Brr.Ev.type'message is the message event.
val messageerror : Brr_io.Message.Ev.t Brr.Ev.type'messageerror is the messageerror event.