fallbackStrategy
Call Signature
Section titled “Call Signature”fallbackStrategy<
T>(options):StrategyDefinition<T,never> &object
Defined in: src/fallback.ts:41
Without shouldHandle it catches every failure of the strategies added after it (they leave the settle() error type).
Type Parameters
Section titled “Type Parameters”T = any
Parameters
Section titled “Parameters”options
Section titled “options”FallbackOptions<T> & object
Returns
Section titled “Returns”StrategyDefinition<T, never> & object
Call Signature
Section titled “Call Signature”fallbackStrategy<
T>(options):StrategyDefinition<T>
Defined in: src/fallback.ts:42
Without shouldHandle it catches every failure of the strategies added after it (they leave the settle() error type).
Type Parameters
Section titled “Type Parameters”T = any