Wednesday, February 6, 2013

Functional Reactive in the Netflix API With RxJava

Ben Christensen and Jafar Husain:

The Observable data type can be thought of as a “push” equivalent to Iterable which is “pull.” With an Iterable, the consumer pulls values from the producer and the thread blocks until those values arrive. By contrast with the Observable type, the producer pushes values to the consumer whenever values are available. This approach is more flexible, because values can arrive synchronously or asynchronously.

Comments RSS · Twitter

Leave a Comment