3 ms·
> why would you have a custom signature to add a transformer really it's just a map()) to forEach() Might have to do with the parallelism. With the transforme
by JackFr 10y ago
> why would you have a custom signature to add a transformer really it's just a map()) to forEach()
Might have to do with the parallelism. With the transformer in the forEach call, the transformer will (presumably) be on the same thread as the consumer.
(That's just a guess--I haven't actually looked at code)