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

Function runEffect

packages/cli/test/Wizard.test.ts:23–25  ·  view source on GitHub ↗
(
  self: Effect.Effect<A, E, CliApp.CliApp.Environment>
)

Source from the content-addressed store, hash-verified

21}).pipe(Layer.unwrapEffect)
22
23const runEffect = <E, A>(
24 self: Effect.Effect<A, E, CliApp.CliApp.Environment>
25): Promise<A> => Effect.provide(self, MainLive).pipe(Effect.runPromise)
26
27describe("Wizard", () => {
28 it("should quit the wizard when CTRL+C is entered", () =>

Callers

nothing calls this directly

Calls 2

pipeMethod · 0.65
provideMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…