@rotorsoft/act 1.32.19 → 1.32.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/act.d.ts +18 -21
- package/dist/@types/act.d.ts.map +1 -1
- package/dist/@types/internal/correlate-cycle.d.ts +18 -1
- package/dist/@types/internal/correlate-cycle.d.ts.map +1 -1
- package/dist/@types/internal/defer-timer.d.ts +15 -5
- package/dist/@types/internal/defer-timer.d.ts.map +1 -1
- package/dist/@types/internal/drain-cycle.d.ts +3 -0
- package/dist/@types/internal/drain-cycle.d.ts.map +1 -1
- package/dist/index.cjs +89 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +89 -30
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -51,8 +51,8 @@ Top-level exports:
|
|
|
51
51
|
|
|
52
52
|
- **Builders** — `state()`, `slice()`, `projection()`, `act()` build the domain. `withState`, `withSlice`, `withProjection` compose them.
|
|
53
53
|
- **Ports** — `store()`, `cache()`, `log()` are first-call-wins singletons; pass an adapter on first call to override the default. `dispose()` registers shutdown callbacks.
|
|
54
|
-
- **`Act` orchestrator** — `do`, `load`, `query`, `query_array`, `
|
|
55
|
-
- **Errors** — `ValidationError`, `InvariantError`, `ConcurrencyError`, `StreamClosedError`, `NonRetryableError` plus the `Errors` constants
|
|
54
|
+
- **`Act` orchestrator** — `do`, `load`, `query`, `query_array`, `drain`, `correlate`, `settle`, `start_correlations`, `reset`, `unblock`, `blocked_streams`, `prioritize`, `close`, `forget`, `restore`, `audit`, `shutdown` plus lifecycle events (`committed`, `notified`, `settled`, `blocked`, `closed`, …). Subscription introspection (`query_streams`, `query_stats`) is on the store: `store().query_streams(...)`.
|
|
55
|
+
- **Errors** — `ValidationError`, `InvariantError`, `ConcurrencyError`, `StreamClosedError`, `NonRetryableError` plus the `Errors` constants (each error's `name`); match with `instanceof`.
|
|
56
56
|
- **In-memory adapters** — `InMemoryStore`, `InMemoryCache`, `ConsoleLogger`.
|
|
57
57
|
- **Constants** — `SNAP_EVENT`, `TOMBSTONE_EVENT`.
|
|
58
58
|
- **Types** — full re-export of port interfaces, builder result types, lifecycle event payloads.
|