zak.taccardi
03/04/2020, 8:34 PMChannel<T>
, and that T
has two subclasses, T.One
and T.Two
.
I need the first emission of T.Two
to initialize some state in a coroutine, and after that I want to observe all emissions of T
. But if T.One
emits first, I want to queue it up (leave it in the channel), and allow it to emit once the first instance of T.Two
finishes emitting.Zach Klippenstein (he/him) [MOD]
03/04/2020, 8:56 PMZach Klippenstein (he/him) [MOD]
03/04/2020, 8:57 PMzak.taccardi
03/04/2020, 8:58 PMrkeazor
03/04/2020, 10:19 PMzak.taccardi
03/04/2020, 10:20 PMT
is a sealed classrkeazor
03/04/2020, 10:22 PM