Appearance
Faimulus TypeScript API / @faimulus/driver-sdk / MemoryDriverDefinition
Interface: MemoryDriverDefinition<TConfig>
Factory and metadata exported by a memory driver.
Type Parameters
TConfig
TConfig = unknown
Properties
configSchema
readonlyconfigSchema:JsonSchema
displayName
readonlydisplayName:string
kind
readonlykind:MemoryKind
supportedScopes
readonlysupportedScopes: readonly ("named"|"session")[]
type
readonlytype:string
Methods
createMemory()
createMemory(
config,context):Promise<Memory>
Parameters
config
TConfig
context
Returns
Promise<Memory>