Type Aliases
Definitions
Definitions
: { configs
?: Configs } & {}Dictionary
Dictionary<T>: {}
Type Parameters
HttpMethod
HttpMethod: "get" | "post" | "head" | "options" | "put" | "delete" | "patch"
Mappings
Mappings
<T>: { [ key in keyof T]: T[key] extends Resolver<infer P
, infer R
> ? Saga<[P], R> : never }Type Parameters
OptionFactory
OptionFactory<P, T>: ((payload: P) => T) | T
Type Parameters
Resolver
Type Parameters
Type declaration
Parameters
Returns Saga<[P], R>
RetryOptions
RetryOptions: { delay?: number | ((retry: VoidFunction) => void); onRetry?: VoidFunction; retries?: number; when?: any }
Type declaration
Optional delay?: number | ((retry: VoidFunction) => void)
Optional onRetry?: VoidFunction
Optional retries?: number
when?:function
- when(error: Error): boolean
Parameters
Returns boolean