flow.cond

type: meya.flow.component.cond
class: CondComponent
path: /meya/flow/component/cond.py
signature: cond

Fields

field

signature

required

type

default

description               

spec

ForwardRef('Spec')

null

Override the original spec for this element

context

dict

{}

Send context data with this component's event

sensitive

bool

false

Mark this component's event as sensitive

triggers

list

[]

Activate these dynamic triggers when the component runs

cond

list

default

ActionComponentSpec

Examples

Basic

triggers:
  - keyword: meya.flow.component.cond
steps:
  - cond:
      - ANY: COMPONENT
    default: COMPONENT

Full

triggers:
  - keyword: meya.flow.component.cond
steps:
  - spec: '?'
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    cond:
      - ANY: COMPONENT
    default: COMPONENT