MCPcopy Create free account
hub / github.com/effect-app/libs / make

Function make

repos/effect/packages/effect/src/RequestResolver.ts:232–240  ·  view source on GitHub ↗
(
  runAll: (entries: NonEmptyArray<Request.Entry<A>>, key: unknown) => Effect.Effect<void, Request.Error<A>>
)

Source from the content-addressed store, hash-verified

230 * await Effect.runPromise(getUserEffect) // => "User 123"
231 * ```
232 *
233 * @category constructors
234 * @since 2.0.0
235 */
236export const make = <A extends Request.Any>(
237 runAll: (entries: NonEmptyArray<Request.Entry<A>>, key: unknown) => Effect.Effect<void, Request.Error<A>>
238): RequestResolver<A> =>
239 makeWith({
240 batchKey: defaultKey,
241 delay: Effect.yieldNow,
242 collectWhile: constTrue,
243 runAll

Callers 5

fromFunctionFunction · 0.70
fromFunctionBatchedFunction · 0.70
fromEffectFunction · 0.70
fromEffectTaggedFunction · 0.70
RequestResolver.tsFile · 0.70

Calls 1

makeWithFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…