You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proposal is to add when as a process directive as an alternative to the process when: block.
Usage scenario
It allows configuration of when a process executes directly from the configuration, allowing a set of processes to be labeled and then executed as a set, for example running a set of processes that use GPU's otherwise use processes that use CPU's.
Alternatively, running a process if a param's is set without putting it directly in the process definition.
Suggest implementation
Using the same functionality of a when: but that conditional would be in a closure, while otherwise it would be resolved directly in the config.