MCPcopy
hub / github.com/Effect-TS/effect / completeTryCommit

Function completeTryCommit

packages/effect/src/internal/stm/core.ts:401–406  ·  view source on GitHub ↗
(
  exit: Exit.Exit<A, E>,
  k: (effect: Effect.Effect<A, E, R>) => unknown
)

Source from the content-addressed store, hash-verified

399
400/** @internal */
401const completeTryCommit = <A, E, R>(
402 exit: Exit.Exit<A, E>,
403 k: (effect: Effect.Effect<A, E, R>) => unknown
404): void => {
405 k(exit)
406}
407
408/** @internal */
409type Continuation = STMOnFailure | STMOnSuccess | STMOnRetry

Callers 1

tryCommitAsyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected