ScalingJobBuilder2<'T, 'r> Type
Constructors
| Constructor |
Description
|
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.Run
Parameters:
ScalingJobSpec<(unit -> Effect<'r, unit, 'err>), EnvironmentNotSet, WorkloadNotSet>
Returns: ScalingJobDefinition
Modifiers: inline |
|
Inherited members
Inherited from
ScalingJobBuilder
Instance members
| Instance member |
Description
|
Full Usage:
environment create
Parameters:
IServiceProvider -> CancellationToken -> 'r
Returns: ScalingJobSpec<'Work, ('b -> CancellationToken -> 'r), 'Load>
Type parameters: 'Work, 'a, 'Load, 'r, 'b (requires :> System.IServiceProvider) |
The environment of a worker, from the services and the token that stops the worker.
|
Full Usage:
maxExtraWorkers count
Parameters:
int
Returns: ScalingJobSpec<'a, 'b, 'c>
Type parameters: 'a, 'b, 'c |
|
Full Usage:
maxRestartDelay delay
Parameters:
TimeSpan
Returns: ScalingJobSpec<'a, 'b, 'c>
Type parameters: 'a, 'b, 'c |
|
Full Usage:
monitorEvery interval
Parameters:
TimeSpan
Returns: ScalingJobSpec<'a, 'b, 'c>
Type parameters: 'a, 'b, 'c |
|
Full Usage:
restartAfter delay
Parameters:
TimeSpan
Returns: ScalingJobSpec<'a, 'b, 'c>
Type parameters: 'a, 'b, 'c |
|
Full Usage:
this.Run
Parameters:
ScalingJobSpec<(unit -> Effect<'r, unit, 'err>), (IServiceProvider -> CancellationToken -> 'r), (IServiceProvider -> CancellationToken -> Task<WorkerLoad>)>
Returns: ScalingJobDefinition
Type parameters: 'r, 'err |
Only a spec with work, an environment and a workload gets here: 'r and 'err are shared by them.
|
Full Usage:
this.Run
Parameters:
ScalingJobSpec<(unit -> Effect<'r, unit, 'err>), (IServiceProvider -> CancellationToken -> 'r), WorkloadNotSet>
Returns: ScalingJobDefinition
Type parameters: 'r, 'err |
|
Full Usage:
work work
Parameters: Returns: ScalingJobSpec<(unit -> Effect<'r, unit, 'err>), 'Env, 'Load>
Type parameters: 'a, 'Env, 'Load, 'r, 'err |
The effect each worker runs over and over, created once per worker from the services.
|
Full Usage:
workload workload
Parameters:
IServiceProvider -> CancellationToken -> Task<WorkerLoad>
Returns: ScalingJobSpec<'Work, 'Env, ('b -> CancellationToken -> Task<WorkerLoad>)>
Type parameters: 'Work, 'Env, 'a, 'b (requires :> System.IServiceProvider) |
How much work there is, from the services, checked to decide whether to add or remove a worker.
|
Full Usage:
this.Yield
Parameters:
unit
Returns: ScalingJobSpec<WorkNotSet, EnvironmentNotSet, WorkloadNotSet>
|
|
Orsak