(concurrency: Concurrency)
| 79 | ) |
| 80 | |
| 81 | export const getAllUserNamesPipedN = (concurrency: Concurrency) => |
| 82 | getAllUserIds.pipe( |
| 83 | Effect.flatMap(Effect.forEach(getUserNameById, { concurrency, batching: true })), |
| 84 | Effect.onInterrupt(() => FiberRef.getWith(interrupts, (i) => Effect.sync(() => i.interrupts++))) |
| 85 | ) |
| 86 | |
| 87 | export const getAllUserNames = getAllUserNamesN("unbounded") |
| 88 |
no test coverage detected