Sets a timeout in milliseconds before the process will be terminated.
- Namespace
- Statiq
.Core - Containing Type
- StartProcess
Syntax
public StartProcess WithTimeout(Config<int> timeout)
Remarks
This has no effect for background processes.
Parameters
| Name | Type | Description |
|---|---|---|
| timeout | Config |
The timeout in milliseconds. |
Return Value
| Type | Description |
|---|---|
| StartProcess | The current module instance. |