Const
event — custom event broadcast / direct delivery namespace.
event
Broadcast an event to every connected window (optionally excluding self). Receivers get { payload, sourceWindowId } under eventName.
{ payload, sourceWindowId }
eventName
Deliver an event to a specific window by id. An id no open window has fails with code: 'NOT_FOUND'.
code: 'NOT_FOUND'
event— custom event broadcast / direct delivery namespace.