Interface: EventChannelValue\<TPayload, TPresence\>
@roomful/svelte / EventChannelValue
Interface: EventChannelValue<TPayload, TPresence>
Section titled “Interface: EventChannelValue<TPayload, TPresence>”Defined in: packages/svelte/src/index.ts:138
Describes a custom event payload delivered through an event channel store.
Type Parameters
Section titled “Type Parameters”TPayload
Section titled “TPayload”TPayload = unknown
The event payload type.
TPresence
Section titled “TPresence”TPresence extends PresenceData = PresenceData
The room presence shape.
Properties
Section titled “Properties”from:
Peer<TPresence>
Defined in: packages/svelte/src/index.ts:145
Exposes the sending peer.
payload
Section titled “payload”payload:
TPayload
Defined in: packages/svelte/src/index.ts:150
Exposes the event payload.