• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

paldepind / flyd / 318 / 3
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/hosted-git-info-2.8.9
DEFAULT BRANCH: master
Ran 12 Jul 2018 03:01PM UTC
Files 1
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Jul 2018 02:59PM UTC coverage: 100.0%. Remained the same
318.3

Pull #175

travis-ci

web-flow
Flip argument order of takeUntil module

The takeUntil module violates one of the first principles of functional
programming. Its argument order was (src, end) which is a data first
argument order.

This commit flips the argument order to (end, src) allowing us to better
use takeUntil in pipelines such as:

```js
const query = stream('');

// Start fetching the results but if they haven't
// arrived when a new query is emitted
// stop listening to the stream
const results = query
 .chain(q =>
    fromPromise(getResults(q))
      .pipe(takeUntil(query))
  )
```

This also fixes an issue with takeUntil where if the new endStream had a
value the dependent stream wouldn't update.
Pull Request #175: Flip argument order of takeUntil module

81 of 84 branches covered (96.43%)

253 of 253 relevant lines covered (100.0%)

197.38 hits per line

Source Files on job 318.3
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 312
  • Travis Job 318.3
  • 8a5a9fe6 on github
  • Prev Job for on feature/flip-takeUntil-arg-order (#314.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc