@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.
@@ -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) =>