Is there a way to subscribe an observer as async

前端 未结 3 531
离开以前
离开以前 2021-01-07 00:18

Given a synchronous observer, is there a way to do this:

observable.SubscribeAsync(observer);

And have all methods on the observer

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-07 00:42

    You might want to look into ObserveOn and SubscribeOn (more information and even more information).

提交回复
热议问题