Skip to content

BlockSuite API Documentation / @blocksuite/store / BaseDocProvider

Interface: BaseDocProvider

Different examples of providers could include broadcast channel, database like SQLite, LevelDB or IndexedDB. Usually a provider will also implement DocProviderCreator.

Contents

Extended By

Properties

cleanup?

cleanup?: () => void

Returns

void

Description

Cleanup data when doc is removed.

Source

packages/store/src/providers/type.ts:16


flavour

flavour: string

Source

packages/store/src/providers/type.ts:10


Generated using typedoc-plugin-markdown and TypeDoc