MCPcopy Create free account
hub / github.com/Effect-TS/effect / clearTransaction

Function clearTransaction

packages/effect/src/Effect.ts:14613–14616  ·  view source on GitHub ↗
(state: Transaction["Service"])

Source from the content-addressed store, hash-verified

14611}
14612
14613function clearTransaction(state: Transaction["Service"]) {
14614 state.retry = false
14615 state.journal.clear()
14616}
14617
14618/**
14619 * Retries the current transaction by signaling that it must be retried.

Callers 1

stepFunction · 0.85

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected