Skip to content

BlockSuite API Documentation / @blocksuite/store / createAutoIncrementIdGeneratorByClientId

Function: createAutoIncrementIdGeneratorByClientId()

createAutoIncrementIdGeneratorByClientId(clientId): IdGenerator

Parameters

clientId: number

Returns

IdGenerator

Defined in

packages/framework/store/src/utils/id-generator.ts:11