Any class
Creates an AbortSignal that is aborted when any of the provided signals is aborted.
This is equivalent to calling AbortSignal.any([...])
in the Web SDK.
Useful for combining multiple abort conditions.
Example:
final signal = HttpsCallableOptions(
webAbortSignal: Any([
TimeLimit(Duration(seconds: 10)),
Abort('User cancelled'),
]),
);
- Inheritance
-
- Object
- AbortSignal
- Any
Constructors
-
Any.new(List<
AbortSignal> signals)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
signals
→ List<
AbortSignal> -
final
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