Message.Ev
Message events.
The type for MessageEvent
and ExtendableMessageEvent
objects.
val as_extendable : t -> Brr.Ev.Extendable.t
as_extendable e
is e
as an extendable event. Warning. only for ExtendableMessageEvents
objects.
val data : t -> 'a
data e
is the data send by the emitter. Warning. Unsafe, make sure to constrain the result value to the right type.
source e
is the message emitter.
ports e
is a list of ports associated with the channel the message is being send through (if applicable).
val message : t Brr.Ev.type'
message
is the message
event.
val messageerror : t Brr.Ev.type'
messageerror
is the messageerror
event.