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

Function runPromise

packages/platform/test/Path.test.ts:7–8  ·  view source on GitHub ↗
(effect: Effect.Effect<A, E, Path.Path>)

Source from the content-addressed store, hash-verified

5import * as Effect from "effect/Effect"
6
7const runPromise = <E, A>(effect: Effect.Effect<A, E, Path.Path>) =>
8 Effect.runPromise(Effect.provide(effect, Path.layer))
9
10describe("Path", () => {
11 it("fromFileUrl", () =>

Callers 1

Path.test.tsFile · 0.70

Calls 1

provideMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…