Skip to content

API > @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.

Extended By ​

Properties ​

cleanup ​

optional cleanup: function

Returns ​

void

Description ​

Cleanup data when doc is removed.

Defined In ​

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


flavour ​

flavour: string

Defined In ​

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