DelegatingScalingEffectJob<'r, 'err> Type
A job whose workload is a function, so the builder needs no subclass per job.
Constructors
| Constructor |
Description
|
Full Usage:
DelegatingScalingEffectJob(name, logger, _services, work, runnerFactory, workload, ?maxExtraWorkers, ?monitorInterval, ?restartDelay, ?maxRestartDelay)
Parameters:
string
logger : ILogger
_services : IServiceProvider
work : unit -> Effect<'r, unit, 'err>
runnerFactory : CancellationToken -> 'r
workload : CancellationToken -> Task<WorkerLoad>
?maxExtraWorkers : int
?monitorInterval : TimeSpan
?restartDelay : TimeSpan
?maxRestartDelay : TimeSpan
Returns: DelegatingScalingEffectJob<'r, 'err>
|
|
Inherited members
Inherited from
ScalingEffectJob<'r, unit, 'err>
Instance members
| Instance member |
Description
|
Full Usage:
this.GetWorkload
Parameters:
CancellationToken
Returns: Task<WorkerLoad>
Modifiers: abstract |
How much work the job has, checked every
|
Orsak