Fork
[flow/Fork]
Forwards input data to one of two outputs, depending on the condition. Example:
false@0 received via
condition
"A"@0 received via
data
"A"@0 sent via
on false
More: https://github.com/Cranq-io/cranq-tutorials/blob/main/reference/1_application_flow/1_1_junctions/README.md#example---using-forks
Keywords: if, conditional, ternary, route, routing
Input ports
data:
any
Receives the data to be forwarded to either output.
condition:
boolean
Receives the evaluation of some condition.
Output ports
on true:
any
Sends signal received via
data
when condition was true.on false:
any
Sends signal received via
data
when condition was false.
Last updated