Is there a way to pass events from websocket to vi...
# coroutines
z
Is there a way to pass events from websocket to view model without RxJava and callback? RxJava is just to big to implement in my project just for this need. Flow is still not ready for production (is it?) And liveData does not seem like a good fit (no need for lifecycle awareness in this case)
z
Flow is definitely ready for production.
❤️ 1
z
That's great news! That was definitely my preferred method, Is there a reason Android studio forces me to anotate it with "FlowPreview" an "Experimental coroutines api"?
z
Some of the flow APIs are still experimental, but "experimental" means the API is likely to change at some point in the future, not that it's not ready to use. It's more for library authors who need to know they can't rely on them for backwards-compatible ABI. And some things, like the StateFlow interface, are stable for use but experimental for implementing yourself.
z
Thank you for this complete answer 🙏🙏