RetryCallback
typealias RetryCallback = (resource: Resource?, error: RequestErrorEvent?) -> PromiseResult<Boolean>(source)
A function that returns the value of the property.
Parameters
resource
The resource that failed to load.
error
The error that occurred during the loading of the resource.