by pickle-ts · 8y ago · 0 comments
To quote Erik Meijer - the godfather of observables - in this article https://queue.acm.org/detail.cfm?id=2169076
There are many ways to derive Rx, some involving category theory and appealing to mathematical duality, but this article shows how every developer could have invented Rx by crossing the standard JDK (Java Development Kit) Future<T> interface with the GWT (Google Web Toolkit) AsyncCallBack<T> interface to create the pair of interfaces IObservable<T> and IObserver<T> that model asynchronous data streams with values of type T.