https://kotlinlang.org logo
#coroutines
Title
# coroutines
a

addamsson

04/17/2019, 3:04 PM
I've bumped into a guide several weeks ago where `Sequence`s were explained using a visual guide but I can't seem to find it now in Google. Have any of you bumped into that?
l

louiscad

04/17/2019, 3:13 PM
Not related to coroutines. Is it this one? https://typealias.com/guides/kotlin-sequences-illustrated-guide/
👍 1
a

addamsson

04/17/2019, 3:27 PM
Yes
It is related to coroutines because of this: coroutine
just take a look at what kind of lambda the
sequence
builder accepts
b

bdawg.io

04/17/2019, 8:05 PM
@addamsson yes it utilizes coroutine mechanics to provide the suspending
yield
behavior. You can’t use other suspend functions though and it always uses the same thread that the sequence is consumed on
3 Views