store
@rotorsoft/act-root / act/src / store
Variable: store()
conststore: (adapter?) =>Store
Defined in: libs/act/src/ports.ts:128
Singleton event store port. By default, uses the in-memory store.
You can inject a persistent store (e.g., Postgres) by calling store(myAdapter).
Parameters
adapter?
Returns
Example
const myStore = store();
const customStore = store(new MyCustomStore());