Since it's now a flow, would the flow extensions like
.onStart {}
fit your use case?
Also yeah you can definitely use the .catch operator there for anything that may be thrown.
I'd guess this should have similar functionality to what old "onFailure" was, but I'd definitely read the docs about what old onFailure was.
c
Chris Fillmore
08/05/2022, 6:07 PM
I haven’t checked recently but I thought onFailure mapped to OkHttp websocket listener’s equivalent callback