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:

AsyncManager.register(this, asyncTask -> {
    SomeData result = doHeavyLifting();
    asyncTask.push(() -> showData(result));
})

But don't stop here, read the full story.

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)

Install

Link to this version
StableReleased 29 May 2020Apache License 2.0
Framework Support
Vaadin platform 10+
Browser Independent
Install with
Release notes - Version 1.1.0
  • Fix concurrency issue