Reactive Thread

Hookless » Adapters » Thread

Reactive Thread as implemented in ReactiveThread class is a reactive adapter for Java's Thread. Since Thread is inherently synchronously blocking, ReactiveThread is implemented as a conceptual analog rather than a wrapper. ReactiveThread executes reactive computation on a thread pool whenever its dependencies change. It is a kind of reactive consumer and it can serve as a bridge that forwards output from its reactive computation to non-reactive APIs.

Download

ReactiveThread is included in core library.

Documentation

See the ReactiveThread class in javadoc. Since the javadoc is not complete yet, you might want to take a look at comments and implementation in ReactiveThread.java.