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
most Basic route of the databot .it duplicate the parent from the parent pipe.
Route Return is derived from Branch with parameter (share=False,join=True)
Route Filter is derived from Branch .it will drop out message ,if not match (route_type,route_func) sametime.
Basic route of databot. it create branch for every pass in (node or route).
Join is derived from Fork with parameter(share=False,join=True) .