You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the "Take until" section, the comment after the code block mentions the use function:
This code is using whileSelect as a nicer shortcut to while(select{...}) {} loop and Kotlin's use expression to close the channels on exit, which unsubscribes from the corresponding publishers.
But use here was refactored with consume back in January 2018.
In "Merge", there is the following comment:
Notice, the use of coroutineContext in the invocation of launch coroutine builder.
coroutineContext is not passed to the invocation of launch (was refactored in September 2018).
The text was updated successfully, but these errors were encountered:
Inego
changed the title
Reactive guide: obsolete mention of use in "Take until"
Reactive guide: comments after code blocks out of sync with code
Jun 16, 2019
https://github.com/Kotlin/kotlinx.coroutines/blob/master/reactive/coroutines-guide-reactive.md
use
function:But
use
here was refactored withconsume
back in January 2018.coroutineContext
is not passed to the invocation oflaunch
(was refactored in September 2018).The text was updated successfully, but these errors were encountered: