Skip to content

Interface: UseActivityResult

@roomful/vue


@roomful/vue / UseActivityResult

Defined in: vue/src/index.ts:399

Describes the return value of useActivity.

entries: ReadonlyRef<ActivityEntry[]>

Defined in: vue/src/index.ts:404

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


record: (type, data?) => ActivityEntry

Defined in: vue/src/index.ts:409

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.