Function: parseConstructorPreConditionsRunIn()
parseConstructorPreConditionsRunIn(
runIn:CommandRunInUnion|CommandSpecificRunIn,resolveConstructorPreConditionsRunType: (types:CommandRunInUnion) =>null| readonlyChannelType[],preconditionContainerArray:PreconditionContainerArray):void
Defined in: projects/framework/src/lib/precondition-resolvers/runIn.ts:15
Appends the RunIn precondition based on the values passed, defaulting to null, which doesn't add a
precondition.
Parameters
| Parameter | Type | Description |
|---|---|---|
runIn | CommandRunInUnion | CommandSpecificRunIn | The command's runIn option field from the constructor. |
resolveConstructorPreConditionsRunType | (types: CommandRunInUnion) => null | readonly ChannelType[] | The function to resolve the run type from the constructor. |
preconditionContainerArray | PreconditionContainerArray | The precondition container array to append the precondition to. |
Returns
void