MCPcopy Index your code
hub / github.com/Effect-TS/effect / runEffect

Function runEffect

packages/cli/test/Primitive.test.ts:9–10  ·  view source on GitHub ↗
(self: Effect.Effect<A, E, FileSystem.FileSystem>)

Source from the content-addressed store, hash-verified

7import * as fc from "effect/FastCheck"
8
9const runEffect = <E, A>(self: Effect.Effect<A, E, FileSystem.FileSystem>): Promise<A> =>
10 Effect.provide(self, NodeFileSystem.layer).pipe(Effect.runPromise)
11
12describe("Primitive", () => {
13 describe("Bool", () => {

Callers

nothing calls this directly

Calls 2

pipeMethod · 0.65
provideMethod · 0.65

Tested by

no test coverage detected