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 Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
S |
unknown |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
config |
StorageConfig |
Returns
Section titled “Returns”Promise<S> | S