KestrunHost.AddTasks method
Adds the Tasks feature to run ad-hoc scripts with status/result/cancellation.
public KestrunHost AddTasks(int? MaxRunspaces = null)
| parameter | description |
|---|---|
| MaxRunspaces | Optional max runspaces for the task PowerShell pool; when null uses scheduler default. |
Return Value
The current KestrunHost instance.
See Also
- class KestrunHost
- namespace Kestrun.Hosting