I can't use `sequence { }` with abstract suspendin...
# announcements
a
I can't use
sequence { }
with abstract suspending functions, because
StreamingCmd
has to inherit from
CmdBase
and so can't inherit from
SequenceScope
d
flow { }
?
☝️ 2
a
and while I can get over having to pull in kotlinx.coroutines for something as basic as a non-
@RestrictsSuspension
sequence builder, I do still want to keep the interface compatible with a non-suspending base, meaning I can't just stick
Flow
or
ReceiveChannel
as the return types.