task property

Future<void> get task

A Future that completes when all in-flight async operations started via StateLogic.async have finished.

Returns an already-completed future when no async work is pending.

Implementation

Future<void> get task => _futureTracker.future;