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

Function runRequest

packages/effect/test/Runtime.test.ts:109–113  ·  view source on GitHub ↗
(userId: string)

Source from the content-addressed store, hash-verified

107 const runtime = yield* Effect.runtime<never>()
108
109 const runRequest = (userId: string): Promise<Result> =>
110 requestStore.run(
111 { userId },
112 () => Runtime.runPromise(runtime)(readAlsOnScheduledContinuation)
113 )
114
115 const results = yield* Effect.promise(() =>
116 Promise.all([

Callers 1

Runtime.test.tsFile · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected