makeResilient
FitFileViewer - API Documentation v29.4.0
FitFileViewer - API Documentation / utils/errors/errorHandling / makeResilient
Function: makeResilient()
makeResilient(
fn:Function,fallback:any,options?:Object):Function
Defined in: utils/errors/errorHandling.js:388
Create a resilient version of a function that continues on error with fallback
Parametersβ
fnβ
Function
Function to make resilient
fallbackβ
any
Fallback value
options?β
Object = {}
Options
Returnsβ
Function
Resilient function