workflow-kotlin
workflow-kotlin copied to clipboard
Remove custom share operator from terminal sample when it lands in the coroutines lib
Unfortunately, we had to write a custom share
operator for the keystroke flow, since the keystroke worker is used by two separate workflows simultaneously, and without it they each get alternating keystrokes. There is an issue open on the coroutines project to implement a standard operator (https://github.com/Kotlin/kotlinx.coroutines/issues/1261).
Originally posted by @zach-klippenstein in https://github.com/square/workflow/pull/453/commits/1912d58b5af61514d21ea84b3da710cb02f37e9e