IRuntimeService.JavaScriptTimeout

IRuntimeService.JavaScriptTimeout property

Gets or sets TimeSpan which limits JavaScript execution time. If script is executed longer than provided TimeSpan, it will be cancelled. You can specify infinite timeout by setting TimeSpan equal to -1 millisecond. Default value is 1 minute.

public TimeSpan JavaScriptTimeout { get; set; }

See Also