Hey! I was going through the <Asynchronous Flow do...
# android
a
Hey! I was going through the Asynchronous Flow documentation and wanted to use
Catching declaratively
part in my android code inside viewmodel but
forEach{}
is deprecated. Is there any alternative to catch the exception from downstream
code inside .collect{}
What
forEach
are you talking about?
a
@Ian Lake Thank you for your response, It was a mistake. I tried using
forEach
instead of
onEach