isCurrent property

bool get isCurrent

Whether work associated with this token may still update state.

Implementation

bool get isCurrent => _guard._generation == _generation;