(
self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>,
f: (d: OutElem) => Channel<OutElem1, OutErr1, OutDone1, InElem1, InErr1, InDone1, Env1>,
options: {
readonly concurrency: Types.Concurrency
readonly bufferSize?: number | undefined
}
)
| 2679 | ) |
| 2680 | |
| 2681 | const flatMapConcurrent = < |
| 2682 | OutElem, |
| 2683 | OutErr, |
| 2684 | OutDone, |
| 2685 | InElem, |
| 2686 | InErr, |
| 2687 | InDone, |
| 2688 | Env, |
| 2689 | OutElem1, |
| 2690 | OutErr1, |
| 2691 | OutDone1, |
| 2692 | InElem1, |
| 2693 | InErr1, |
| 2694 | InDone1, |
| 2695 | Env1 |
| 2696 | >( |
| 2697 | self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>, |
| 2698 | f: (d: OutElem) => Channel<OutElem1, OutErr1, OutDone1, InElem1, InErr1, InDone1, Env1>, |
| 2699 | options: { |
| 2700 | readonly concurrency: Types.Concurrency |
| 2701 | readonly bufferSize?: number | undefined |
| 2702 | } |
| 2703 | ): Channel< |
| 2704 | OutElem1, |
| 2705 | OutErr | OutErr1, |
| 2706 | OutDone, |
| 2707 | InElem & InElem1, |
| 2708 | InErr & InErr1, |
| 2709 | InDone & InDone1, |
| 2710 | Env | Env1 |
| 2711 | > => self.pipe(map(f), mergeAll(options)) |
| 2712 | |
| 2713 | /** |
| 2714 | * Concatenates this channel with another channel created from the terminal value |
no test coverage detected