Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flyd-mergeall

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flyd-mergeall

mergeAll implementation for flyd streams

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

flyd-mergeAll

Build Status

mergeAll implementation for flyd streams.

It flattens an Stream-of-streams, emitting each time any of the emitted streams emit a value. The parameter concurrency can be added to specify how many streams will be emitting at same time. For instance, if concurrency is 1, the first stream will have to end in order for the second one to emit on the result stream.

([Number] HighOrder-Stream) -> Stream Example without specifying concurrency (all can emit):

a:           {--.-----.--.---.----------.--------}
               [1]   [4 5 6 7 8]      [1 2]
                        [2 4]
                            [3 5 7]
mergeAll(a): {--1-----4-5264738577-----1-2------}

Example with concurrency 1:


a:                 {--.-----.--.---.----------.--------}
                     [1]   [4 5 6 7 8]       [1 2]
                              [2 4]
                                  [3 5 7]
mergeAll(1, a):    {--1-----4-5-6-7-8--7------1-2------}

Usage




Keywords

FAQs

Package last updated on 07 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc