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

Function clearTransaction

packages/effect/src/Effect.ts:16510–16513  ·  view source on GitHub ↗
(state: TransactionMetaInner)

Source from the content-addressed store, hash-verified

16508}
16509
16510function clearTransaction(state: TransactionMetaInner) {
16511 state.retry = false
16512 state.journal.clear()
16513}
16514
16515/**
16516 * Retries the current transaction by signaling that it must be retried.

Callers 2

txFunction · 0.85
stepFunction · 0.85

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected