Type of event to broadcast.
Creates a new LiveEventSource
instance.
Scope to use for sending events.
Name of the event to broadcast.
Broadcasts an event to any listening LiveEventTarget
instances.
Optional. Partial event object to send. The ILiveEvent.name
,
ILiveEvent.timestamp
, and ILiveEvent.clientId
fields will be automatically populated prior to sending.
The full event, including ILiveEvent.name
,
ILiveEvent.timestamp
, and ILiveEvent.clientId
fields if known.
Generated using TypeDoc
Broadcasts live share events to all clients and can be received by an
LiveEventTarget
.Live objects won't typically create an
LiveEventSource
directly. They will, instead, create anLiveEventTarget
class, which can both send & receive events.