AsyncActionGuard class

Coordinates asynchronous actions by logical key.

Constructors

AsyncActionGuard({Duration? maxQueueWait})

Properties

hashCode → int
The hash code for this object.
no setterinherited
maxQueueWait → Duration?
final
pendingCount → int
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runExclusive<T>(Object key, FutureOr<T> action()) → Future<T>
runSingleFlight<T>(Object key, FutureOr<T> action()) → Future<T>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited