Routing components for NoFlo
This package provides components for routing information packets in NoFlo programs: by stream position, by groups, by regular expressions, and by sequence.
Install the package:
npm install @noflo/routers
The components are then available under the routers/ namespace, for
example routers/PacketRouter or routers/GroupRouter.
Components include:
PacketRouter— route by stream positionPacketRegexpRouter— route by regular expression matchGroupRouter— route by group hierarchies with wildcard routesKickRouter— release buffered streams by index, prev, or nextSplitInSequence— round-robin splittingControlledSequence— switch connections on demand