Skip to content
Buy me a coffee

fallbackStrategy

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).

T = any

FallbackOptions<T> & object

StrategyDefinition<T, never> & object

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).

T = any

FallbackOptions<T>

StrategyDefinition<T>