Skip to content

StorageFactory

type StorageFactory<S> = (config) => Promise<S> | S;

Defined in: src/cli/index.ts:243

Builds a storage for a driver from the resolved config.

Type Parameter Default type
S unknown
Parameter Type
config StorageConfig

Promise<S> | S