Skip to content

BlockSuite API Documentation / @blocksuite/store / AwarenessEvent

Interface: AwarenessEvent<Flags>

Type Parameters

Flags extends Record<string, unknown> = BlockSuiteFlags

Properties

id

id: number

Defined in

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


state?

optional state: RawAwarenessState<Flags>

Defined in

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


type

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

Defined in

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