Stream collector
Join/merge n streams into one. The resulting stream will end when all the input streams have sent the end
event.
Example
const Funnel = ;const stream1 = ;const stream2 = ; const funnel = ; funnel;funnel;// OR funnel.addSources( [ stream1, stream2 ] );funnel;
Debug
This module uses the debug
package, add stream-funnel
to the DEBUG
env variable to see the logs.