Turning a callback into an RX Observable
So, let's say you're using a library that does something amazing. Trouble is that you didn't write it and the author hasn't RX'd it yet. The call you need to use is asynchronous and returns the result by virtue of a callback. How can we make it into an Observable …
more ...