TimeOut
import {TimeOut} from 'cabbie-async';
Managing time-out
Methods
setAsyncScriptTimeOut(timeout): Promise<void>
- timeout
- number | string
Set the amount of time, in milliseconds, that asynchronous scripts are permitted to run before they are aborted and a "Timeout" error is returned to the client.
setImplicitTimeOut(timeout): Promise<void>
- timeout
- number | string
Set the amount of time, in milliseconds, that scripts executed are permitted to run before they are aborted and a "Timeout" error is returned to the client.
setPageLoadTimeOut(timeout): Promise<void>
- timeout
- number | string
Set the amount of time, in milliseconds, that a page is permitted to be loaded before they it is aborted and a "Timeout" error is returned to the client.
setScriptTimeOut(timeout): Promise<void>
- timeout
- number | string
Set the amount of time, in milliseconds, that scripts are permitted to run before they are aborted and a "Timeout" error is returned to the client.