Hello. I have setup roughly like this ``` val co...
# rx
d
Hello. I have setup roughly like this
Copy code
val completable = Completable.fromAction { /* do stuff */ }.subscribeOn(<http://Schedulers.io|Schedulers.io>())

// later in Applicaton.onCreate()
completable.observeOn(mainThread()).blockingAwait()
This
blockingAwait
completely hangs my app, no "stuff" gets done. If i replace it with
subscribe()
, then "stuff" gets done, and everything's working. Why is that? How do I block my onCreate() until completable completes?