MemoryStore
constMemoryStore:object
Defined in: packages/core/src/session/index.ts:68
A per-process store, useful for tests and a single gateway.
Type Declaration
Section titled “Type Declaration”
readonlylayer: (options) =>Layer<MessageSessionStore>
Parameters
Section titled “Parameters”options?
Section titled “options?”clock?
Section titled “clock?”() => number
Returns
Section titled “Returns”Layer<MessageSessionStore>
readonlymake: (clock) =>Effect<StrongMessageSessionStore>
A memory store with an injected clock, for deterministic tests.
Parameters
Section titled “Parameters”clock?
Section titled “clock?”() => number
Returns
Section titled “Returns”Effect<StrongMessageSessionStore>