Route¶
Route is important concept of the Databot. With it ,we can duplicate ,join,drop data. and route message to muliti target Node.
`def __init__(self, *args, route_type=object,route_func=None, share=True, join=False):`
args: | list of Node or Route. |
---|---|
share: | True|False. default value True if keep the orignal data for upflow. |
route_type: | list of Type for route upflow message to Branch.default value object |
route_func: | a function handle for route. logic bewteen route_type and route_func work together with and. |
join: | True|False ,if Return the final message to parent Pipe. default value False |