Skip to content

BlockSuite API Documentation / @blocksuite/store / pickIdGenerator

Function: pickIdGenerator()

pickIdGenerator(idGenerator, clientId): IdGenerator

Parameters

idGenerator: undefined | IdGenerator | IdGeneratorType

clientId: number

Returns

IdGenerator

Defined in

packages/framework/store/src/store/id.ts:31