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

Function runPromise

packages/platform-node-shared/test/CommandExecutor.test.ts:28–30  ·  view source on GitHub ↗
(
  self: Effect.Effect<A, E, CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path>
)

Source from the content-addressed store, hash-verified

26)
27
28const runPromise = <E, A>(
29 self: Effect.Effect<A, E, CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path>
30) => Effect.runPromise(Effect.provide(self, TestLive))
31
32describe("Command", () => {
33 it("should convert stdout to a string", () =>

Callers 1

Calls 1

provideMethod · 0.65

Tested by

no test coverage detected