@effect-agent/storage-cloudflare 0.1.0-beta.48 → 0.1.0-beta.50
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/DoSubmissionLedger.mjs +47 -2
- package/dist/DoSubmissionLedger.mjs.map +1 -1
- package/dist/DoSubscriptionStore.mjs +6 -566
- package/dist/DoSubscriptionStore.mjs.map +1 -1
- package/dist/PortProtocol.d.mts +8 -4
- package/dist/PortRouting.mjs +1 -0
- package/dist/PortRouting.mjs.map +1 -1
- package/package.json +1 -1
- package/src/DoSubmissionLedger.ts +82 -0
- package/src/DoSubscriptionStore.ts +13 -1005
- package/src/PortRouting.ts +9 -0
package/src/PortRouting.ts
CHANGED
|
@@ -692,6 +692,15 @@ const makeRoutedLedgerServices = Effect.fn("DoPortRouting.makeRoutedLedgerServic
|
|
|
692
692
|
// The local scan IS the whole worklist: one Thread per Object (durability §5).
|
|
693
693
|
scanNonterminal: local.scanNonterminal,
|
|
694
694
|
|
|
695
|
+
readAbortIntent: (request) =>
|
|
696
|
+
submissionTarget("ledger read abort intent", request.submissionId).pipe(
|
|
697
|
+
Effect.flatMap((target) =>
|
|
698
|
+
target._tag === "local"
|
|
699
|
+
? local.readAbortIntent(request)
|
|
700
|
+
: Effect.fail(crossThreadLedgerError("ledger read abort intent", target.threadId)),
|
|
701
|
+
),
|
|
702
|
+
),
|
|
703
|
+
|
|
695
704
|
loadRecoverySnapshot: (request) =>
|
|
696
705
|
submissionTarget("ledger load recovery snapshot", request.submissionId).pipe(
|
|
697
706
|
Effect.flatMap((target) =>
|