flow.split
split data flow by external side-chain predicate
доступно с версии: 0.3
информация
Predicate side chain should accept value and return 1 (true) or 0 (false). If true, input value is outputed to first outlet. Otherwise to second outlet.
входы:
- input value
тип: control
- input from predicate side chain. If 1 received - output for first outlet. If 0 - to second.
тип: control
выходы:
- values for which predicate side-chain returned true
тип: control
- values for which predicate side-chain returned false
тип: control
- value to predicate side-chain
тип: control
ключевые слова:
pass
functional
Смотрите также:
[flow.pass]
[flow.reject]
Авторы: Serge Poltavsky
Лицензия: GPL3 or later