Zach Klippenstein
Zach Klippenstein
Could you give a more specific example of a workflow that emits output as a function of state @0legg?
We decided to remove this from 1.0 in kotlin since it just added work and confusion and we didn't think this was a very important detail to converge on.
I think we might be able to just use `MediaSession` for this even though we're not actually playing any media… need to look at the API more.
Tried using the preview version of `receiveOrClosed`, but turns out it's broken (https://github.com/Kotlin/kotlinx.coroutines/issues/1584) and caused a set of bugs with odd stacktraces (#626).
The referenced coroutines bug was fixed some time ago. Might want to give this another try.
Since this is just a TODO for more samples, I'm removing from 1.0.0.
I wonder if this has something to do with view/compose interop?
We decided to remove this from 1.0 in kotlin since it just added work and confusion and we didn't think this was a very important detail to converge on.
Filed issues to Kotlin for these: - annotation classpath requirement: https://youtrack.jetbrains.com/issue/KT-46064 - `api` dependency requirement: https://youtrack.jetbrains.com/issue/KT-46065
I believe this is the approach we're currently using in kotlin.