Abort class
Creates an AbortSignal that is immediately aborted with an optional reason.
This is equivalent to calling AbortSignal.abort(reason)
in the Web SDK.
Useful when you want to explicitly cancel a callable before it begins, or to provide a specific reason for cancellation.
Example:
final signal = HttpsCallableOptions(webAbortSignal: Abort('User exited'));
- Inheritance
-
- Object
- AbortSignal
- Abort
Properties
Methods
-
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