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

Function ioFail

packages/effect/test/Schedule.test.ts:843–843  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

841
842const ioSucceed = () => Effect.succeed("OrElse")
843const ioFail = () => Effect.fail("OrElseFailed")
844const failOn0 = (ref: Ref.Ref<number>): Effect.Effect<number, string> => {
845 return Effect.gen(function*() {
846 const i = yield* Ref.updateAndGet(ref, (n) => n + 1)

Callers

nothing calls this directly

Calls 1

failMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…