Fork
Last updated
Last updated
[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
data: any
Receives the data to be forwarded to either output.
condition: boolean
Receives the evaluation of some condition.
on true: any
Sends signal received via data
when condition was true.
on false: any
Sends signal received via data
when condition was false.