Interface AsyncComponentOptions<T>
Properties
Optional delay
delay?: number
Optional errorComponent
loader
Optional loadingComponent
Optional suspensible
suspensible?: boolean
Optional timeout
timeout?: number
Methods
Optional onError
- onError(error: Error, retry: () => void, fail: () => void, attempts: number): any
Parameters
error: Error
retry: () => void
fail: () => void
attempts: number
Returns any