FallbackStrategy
Defined in: src/fallback.ts:15
Type Parameters
Section titled “Type Parameters”T
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FallbackStrategy<
T>(options,source):FallbackStrategy<T>
Defined in: src/fallback.ts:20
Parameters
Section titled “Parameters”options
Section titled “options”source
Section titled “source”Returns
Section titled “Returns”FallbackStrategy<T>
Methods
Section titled “Methods”execute()
Section titled “execute()”execute(
next,context):Promise<Outcome<T,unknown>>
Defined in: src/fallback.ts:27
Parameters
Section titled “Parameters”Next<T>
context
Section titled “context”Returns
Section titled “Returns”Promise<Outcome<T, unknown>>