( runAll: (entries: NonEmptyArray<Request.Entry<A>>, key: unknown) => Effect.Effect<void, Request.Error<A>> )
| 255 | * @since 2.0.0 |
| 256 | */ |
| 257 | export const make = <A extends Request.Any>( |
| 258 | runAll: (entries: NonEmptyArray<Request.Entry<A>>, key: unknown) => Effect.Effect<void, Request.Error<A>> |
| 259 | ): RequestResolver<A> => |
| 260 | makeWith({ |
| 261 | batchKey: defaultKey, |
| 262 | delay: Effect.yieldNow, |
| 263 | collectWhile: constTrue, |
| 264 | runAll |
| 265 | }) |
| 266 | |
| 267 | /** |
| 268 | * Constructs a request resolver with the requests grouped by a calculated key. |
no test coverage detected