@rotorsoft/act 1.33.11 → 1.33.12
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/dist/.tsbuildinfo +1 -1
- package/dist/@types/act.d.ts +6 -7
- package/dist/@types/act.d.ts.map +1 -1
- package/dist/@types/adapters/in-memory-store.d.ts +1 -1
- package/dist/@types/adapters/in-memory-store.d.ts.map +1 -1
- package/dist/@types/internal/config.d.ts +1 -1
- package/dist/@types/types/ports.d.ts +4 -6
- package/dist/@types/types/ports.d.ts.map +1 -1
- package/dist/{chunk-KB7D46CC.cjs → chunk-AVXVMZ4B.cjs} +1 -1
- package/dist/chunk-AVXVMZ4B.cjs.map +1 -0
- package/dist/{chunk-HKC663W4.cjs → chunk-P3B7HVFD.cjs} +82 -93
- package/dist/chunk-P3B7HVFD.cjs.map +1 -0
- package/dist/{chunk-2FOO4S2J.js → chunk-URF33KO3.js} +1 -1
- package/dist/chunk-URF33KO3.js.map +1 -0
- package/dist/{chunk-F4F7CYBN.js → chunk-YZ2NKMVS.js} +61 -72
- package/dist/chunk-YZ2NKMVS.js.map +1 -0
- package/dist/index.cjs +147 -148
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -9
- package/dist/index.js.map +1 -1
- package/dist/test/index.cjs +4 -4
- package/dist/test/index.js +2 -2
- package/dist/types/index.cjs +2 -2
- package/dist/types/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2FOO4S2J.js.map +0 -1
- package/dist/chunk-F4F7CYBN.js.map +0 -1
- package/dist/chunk-HKC663W4.cjs.map +0 -1
- package/dist/chunk-KB7D46CC.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
sleep,
|
|
41
41
|
store,
|
|
42
42
|
validate
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-YZ2NKMVS.js";
|
|
44
44
|
import {
|
|
45
45
|
ActorSchema,
|
|
46
46
|
CausationEventSchema,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
pii_fields,
|
|
71
71
|
pii_schemas,
|
|
72
72
|
sensitive
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-URF33KO3.js";
|
|
74
74
|
|
|
75
75
|
// src/signals.ts
|
|
76
76
|
process.once("SIGINT", async (arg) => {
|
|
@@ -3199,9 +3199,10 @@ var Act = class {
|
|
|
3199
3199
|
}
|
|
3200
3200
|
_shutdown_promise;
|
|
3201
3201
|
/**
|
|
3202
|
-
* Per-instance teardown: stops scheduling,
|
|
3203
|
-
* to `graceMs` to reach their
|
|
3204
|
-
* until it expires), then
|
|
3202
|
+
* Per-instance teardown: stops scheduling, removes the notify
|
|
3203
|
+
* subscription, gives the cycles in flight up to `graceMs` to reach their
|
|
3204
|
+
* `ack` (an abandoned handler holds its lease until it expires), then
|
|
3205
|
+
* hands back the correlation lease and removes listeners.
|
|
3205
3206
|
* The budget is a ceiling, not a delay.
|
|
3206
3207
|
*
|
|
3207
3208
|
* Idempotent: repeated calls return the same promise, with the first
|
|
@@ -3885,10 +3886,8 @@ var Act = class {
|
|
|
3885
3886
|
* A local change that frees reaction work (a commit, `reset()`,
|
|
3886
3887
|
* `unblock()`, `restore()`) schedules this on its own unless the app
|
|
3887
3888
|
* sets `autoSettle: false`. Call it at startup, to run what was pending
|
|
3888
|
-
* before a restart, or with options for the next pass
|
|
3889
|
-
*
|
|
3890
|
-
* `debounceMs` brings it forward), and a call during a running cycle
|
|
3891
|
-
* queues one more pass after it. Runs correlate→drain in a loop until a pass makes no
|
|
3889
|
+
* before a restart, or with options for the next pass; the scheduling
|
|
3890
|
+
* rule is in the event-sourcing docs (§ settle). Runs correlate→drain in a loop until a pass makes no
|
|
3892
3891
|
* progress — no new subscriptions, no events read, no streams leased —
|
|
3893
3892
|
* then emits the `"settled"` lifecycle event, so one call fully catches
|
|
3894
3893
|
* up paginated streams without forcing callers to loop.
|