Skip to content

Interface: UseActivityResult

@roomful/solid


@roomful/solid / UseActivityResult

Defined in: solid/src/index.ts:408

Describes the return value of useActivity.

entries: Accessor<ActivityEntry[]>

Defined in: solid/src/index.ts:413

Exposes the current activity feed, newest first. Reactive: updates on any local or remote entry.


record: (type, data?) => ActivityEntry

Defined in: solid/src/index.ts:418

Records a new activity entry authored by the local peer and broadcasts it.

Records an activity entry and broadcasts it to peers.

string

The activity type label.

unknown

An optional structured payload.

ActivityEntry

The recorded entry.