Demystifying Functional Reactive Programming

Demystifying Functional Reactive Programming

Visualizing this as a stream looks as follows:
(Borrowed from Andre Staltz’s highly recommended introduction to Reactive Programming)When viewing click events as a stream, you can use a simple declarative API to transform this stream into another stream of events for double clicks. While reactive applications (as in reactive programming) focus on events, reactive systems focus on messages. ReactiveX is reactive and it employs many elements known from functional programming such as anonymous functions and methods such as map, filter and many others.

Source: itnext.io