Async Manager - Vaadin Add-on Directory
Advanced Push/Polling manager for Vaadin Flow# Async Manager for Vaadin Flow
Async Manager is a simple helper that comes to the rescue when you need to do some heavy computation and update views in a deferred manner. It is very easy to use:
```java
AsyncManager.register(this, asyncTask -> {
SomeData result = doHeavyLifting();
asyncTask.push(() -> showData(result));
})
```
But don't stop here, read the [full story](https://github.com/fluorumlabs/async-manager/blob/master/README.md).
The following features are implemented:
- Push and polling modes
- Adaptive polling intervals (for example, 5 times per first second, then once per second)
- Automatic worker thread termination when user leaves the view or UI is detached
- Thread pooling
- Support for custom exception handlers (for logging or reporting)