KestrunHost.AddScheduling method
Adds a scheduling feature to the Kestrun host, optionally specifying the maximum number of runspaces for the scheduler.
public KestrunHost AddScheduling(int? MaxRunspaces = null)
parameter | description |
---|---|
MaxRunspaces | The maximum number of runspaces for the scheduler. If null, uses the default value. |
Return Value
The current KestrunHost instance.
See Also
- class KestrunHost
- namespace Kestrun.Hosting