Sequence Builder
Learn about the Kotlin sequence, the need for a builder, and the use of the yield function in Kotlin coroutines.
We'll cover the following...
In some other languages, like Python or JavaScript, we can find structures that use limited forms of coroutines:
Async functions (also called async/await).
Generator functions (functions in which subsequent values are yielded).
We’ve already seen how we can use async
in Kotlin, but this will be explained in detail in the "Coroutine ...