Skip to content

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

Class: ID ​

Contents ​

Constructors ​

new ID(client, clock) ​

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.10/node_modules/yjs/dist/src/utils/ID.d.ts:6

Properties ​

client ​

client: number

Client id

Source ​

node_modules/.pnpm/yjs@13.6.10/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.10/node_modules/yjs/dist/src/utils/ID.d.ts:16


Generated using typedoc-plugin-markdown and TypeDoc