setOrderStage
setOrderStage<
Stage>(step,worker,setOrderStageOptions):void
Moves worker’s order of kind on to a stage: the whole stage, so a
station or a stand left out is none. It writes only what changed, and a
change clears a walk’s give-up the kind has not answered.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Stage extends string |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
step |
AuthoritativeStep |
worker |
Entity |
setOrderStageOptions |
SetOrderStageOptions<Stage> |
Returns
Section titled “Returns”void
Example
Section titled “Example”setOrderStage(step, worker, { kind: chop, stage: ChopStage.Haul, station: yard });