In the event we did a pure Rx implementation in Kotlin, would it make sense
observeOn()
,
subscribeOn()
, and
unsubscribeOn()
would directly accept a
CoroutineDispatcher
instead of a
Scheduler
backed by a
CoroutineDispatcher
?
e
elizarov
04/30/2017, 5:33 PM
Makes sense
t
trevjones
04/30/2017, 8:52 PM
wouldn’t you want to stay based on the scheduler abstraction thus staying decoupled from the implementation of the concurrency/parallelism? even in a pure kotlin library the abstraction seems like it would be a benefit.