SequentialStrategy class
Loops through strategies with optional timeouts. Options:
- loop - whether it should loop through the substrategy list
- timeout - initial timeout for a single substrategy
- timeoutLimit - maximum timeout
- Implemented types
- Annotations
-
- @JS()
Constructors
-
SequentialStrategy(List<
Strategy> strategies, StrategyOptions options) -
factory
- SequentialStrategy.fakeConstructor$()
Properties
- failFast ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- loop ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
strategies
↔ List<
Strategy> -
getter/setter pair
- timeout ↔ num
-
getter/setter pair
- timeoutLimit ↔ num
-
getter/setter pair
Methods
-
connect(
num minPriority, Function callback) → StrategyRunner -
override
-
isSupported(
) → bool -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
tryStrategy(
Strategy strategy, num minPriority, StrategyOptions options, Function callback) → dynamic
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited