Adds a new process.
- Namespace
- Statiq
.Web - Containing Type
- ProcessesExtensions
Syntax
public static Processes AddProcess(this Processes processes, ProcessTiming processTiming, Func<IExecutionState, ProcessLauncher> getProcessLauncher)
Parameters
Name | Type | Description |
---|---|---|
processes | Processes | The processes collection. |
processTiming | ProcessTiming | When to start the process. |
getProcessLauncher | Func |
A factory that returns a process launcher. |
Return Value
Type | Description |
---|---|
Processes | The process collection. |