Skip to content

API > @blocksuite/store > Y > ID

Class: ID ​

Constructors ​

constructor ​

new ID(client, clock): ID

Parameters ​

ParameterTypeDescription
clientnumberclient id
clocknumberunique per client id, continuous number

Returns ​

ID

Defined In ​

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

Properties ​

client ​

client: number

Client id

Defined In ​

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


clock ​

clock: number

unique per client id, continuous number

Defined In ​

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