TimeOut Function
Specifies the time after which the request for the document generation status times out.
Declaration
export const TimeOut: DevExpress.Analytics.Internal.IGlobalSubscribableValue<number>
Parameters
| Name | Type |
|---|---|
| newVal | number |
Returns
| Type |
|---|
| number |
Remarks
The TimeOut parameter allows you to set the getBuildStatus request timeout in milliseconds. The TimeOut value determines how long the viewer should wait for the server response to the getBuildStatus request. The value should be less than your application’s request timeout. Initial value is 105 000 ms.
You can initialize the TimeOut property using the client-side BeforeRender event handler, as the following code snippet illustrates:
function Viewer_BeforeRender(s, e) {
DevExpress.Reporting.Viewer.Settings.PollingDelay(1000); //Set polling delay to 1000ms
DevExpress.Reporting.Viewer.Settings.TimeOut(45000); //Set timeout to 45000ms
}
For more information, review the following help topic: Document Viewer Lifecycle.