Skip to content

API > @blocksuite/store > createAutoIncrementIdGeneratorByClientId

Function: createAutoIncrementIdGeneratorByClientId ​

createAutoIncrementIdGeneratorByClientId(clientId): IdGenerator

Parameters ​

ParameterType
clientIdnumber

Returns ​

IdGenerator

Defined In ​

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