Skip to content

BlockSuite API Documentation / @blocksuite/store / Y / ID

Class: ID

Constructors

new ID()

new ID(client, clock): ID

Parameters

client: number

client id

clock: number

unique per client id, continuous number

Returns

ID

Source

node_modules/.pnpm/yjs@13.6.15/node_modules/yjs/dist/src/utils/ID.d.ts:6

Properties

client

client: number

Client id

Source

node_modules/.pnpm/yjs@13.6.15/node_modules/yjs/dist/src/utils/ID.d.ts:11


clock

clock: number

unique per client id, continuous number

Source

node_modules/.pnpm/yjs@13.6.15/node_modules/yjs/dist/src/utils/ID.d.ts:16