Name

adams.flow.source.SwitchedSource


Synopsis

Emulates a Switch control statement. The first 'condition' that evaluates to 'true' selects the corresponding 'case' actor and stops evaluation of conditions.
A catch-all or default can be set up as well by having one more 'case' than 'conditions' (the last case acts as default).


Additional information

Flow input/output:
- output: adams.flow.core.Unknown
Actor handler information:
- Actor execution: SEQUENTIAL
- Standalones allowed: false
- Source allowed: true
- Forwards input: false


Options