Interface IOptions<T>

The instantiation options for a state database.

Type Parameters

  • T extends ReadonlyPartialJSONValue = ReadonlyPartialJSONValue

Hierarchy

  • IOptions

Properties

Properties

connector?: IDataConnector<string, string, string, string>

Optional string key/value connector. Defaults to in-memory connector.

transform?: Promise<DataTransform<T>>

An optional promise that resolves with a data transformation that is applied to the database contents before the database begins resolving client requests.

Generated using TypeDoc