Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Interface: EventChannelValue\<TPayload, TPresence\>

@roomful/svelte


@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.

TPayload = unknown

The event payload type.

TPresence extends PresenceData = PresenceData

The room presence shape.

from: Peer<TPresence>

Defined in: packages/svelte/src/index.ts:145

Exposes the sending peer.


payload: TPayload

Defined in: packages/svelte/src/index.ts:150

Exposes the event payload.