Skip to content

BlockSuite API Documentation / @blocksuite/store / AwarenessEvent

Interface: AwarenessEvent<Flags>

Type parameters

Flags extends Record<string, unknown> = BlockSuiteFlags

Properties

id

id: number

Source

packages/framework/store/src/yjs/awareness.ts:28


state?

optional state: RawAwarenessState<Flags>

Source

packages/framework/store/src/yjs/awareness.ts:30


type

type: "update" | "add" | "remove"

Source

packages/framework/store/src/yjs/awareness.ts:29