AWSOperation<T extends Object?> class
abstract
A wrapper over a CancelableOperation.
- Implemented types
- Mixed in types
- Implementers
Constructors
-
AWSOperation(CancelableOperation<
T> operation, {FutureOr<void> onCancel()?}) - Creates an AWSOperation from a CancelableOperation.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
A unique identifier for the operation.
final
- logger → AWSLogger
-
The logger for this class.
no setteroverride
-
operation
→ CancelableOperation<
T> -
The wrapped CancelableOperation which can be used for cancelable
chaining and interop with other CancelableOperations.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- runtimeTypeName → String
-
The string value of runtimeType, saving a runtime lookup and preventing
obfuscation during web compilation.
no setterinherited
Methods
-
cancel(
) → Future< void> -
Cancels the pending or in-progress operation.
override
-
close(
) → Future< void> -
Closes the resource and all connected objects.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited