( runAll: (entries: NonEmptyArray<Request.Entry<A>>, key: unknown) => Effect.Effect<void, Request.Error<A>> )
| 230 | * await Effect.runPromise(getUserEffect) // => "User 123" |
| 231 | * ``` |
| 232 | * |
| 233 | * @category constructors |
| 234 | * @since 2.0.0 |
| 235 | */ |
| 236 | export 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 |
no test coverage detected
searching dependent graphs…