## IRuntimeService interface

This service is used to configure runtime related properties.

```java
public interface IRuntimeService
```

## Properties

| Name | Description |
| --- | --- |
[getJavaScriptTimeout]
[setJavaScriptTimeout] 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. |

### See Also

* package [com.aspose.html.services](../../com.aspose.html.services/)
* package [Aspose.HTML](../../)
