Skip to content

BlockSuite API Documentation / @blocksuite/store / createAutoIncrementIdGeneratorByClientId

Function: createAutoIncrementIdGeneratorByClientId() ​

createAutoIncrementIdGeneratorByClientId(clientId): IdGenerator

Parameters ​

• clientId: number

Returns ​

IdGenerator

Source ​

packages/store/src/utils/id-generator.ts:13


Generated using typedoc-plugin-markdown and TypeDoc