PendingOperations class

Class that keeps track of ongoing, potentially async, operations.

Keeps a counter of ongoing operation and provides an interface to await all currently scheduled operations.

Implemented types

Constructors

PendingOperations()

Properties

hashCode int
The hash code for this object.
no setterinherited
pendingCalls int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

awaitEndOfKnownCalls() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ongoingOperationsDescription() String
override
registerPendingOperation(String description) → void Function()
Registers a new pending operation and returns a new function that can be used to signal that the pending operation has completed.
toString() String
A string representation of this object.
inherited

Operators

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