elizarov
10/25/2017, 9:12 AMbuildSequence
with produce
, then the result of Sequence
gets replaced with ReceiveChannel
which is a similar, but an asynchronous concept. This of network stream, receiving data from a sequence of REST API calls, etc. With produce
you can just compute stuff, too, but it becomes more flexible, since you can now control where (in what threads) the corresponding code gets executed.