However, when you replace `buildSequence` with `pr...
# coroutines
e
However, when you replace
buildSequence
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.