Hi, can I possibly collect a flow for as long as a...
# flow
s
Hi, can I possibly collect a flow for as long as a certain period? I can't seem to find an operator for that, that is, if I don't cancel this flow before this duration has elapsed, cancel it for me
e
s
Thanks. Was wondering if there was a declarative operator I could switch in, but withTimeout should do the trick
I don't know if you can answer this @ephemient, if I cancel the coroutine a flow is running in using the scope cancel method, do I need to handle the
CancellationException
coming from that?