TimeOut
import {TimeOut} from 'cabbie-sync';
Managing time-out
Methods
setAsyncScriptTimeOut(timeout): 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): 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): 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): 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.