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

jpwilliams / remit / 492 / 1
87%
master: 87%

Build:
DEFAULT BRANCH: master
Ran 31 Jan 2018 01:02PM UTC
Files 18
Run time 1s
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

31 Jan 2018 01:01PM UTC coverage: 86.071% (-3.2%) from 89.271%
492.1

push

travis-ci

web-flow
feat(endpoints/listeners): add the ability to pause/resume consumers (#73)

* 🚩(endpoints): add new pausing capabilities

Includes two new functions on endpoints - `pause` and `resume`.
`pause` take a single argument, `cold`, which manages whether or not to still handle any messages currently being processed.

To manage this functionality, a few promises are passed around (`this._starting`, `this._resuming`, `this._paused` and `this._cold`).
This is currently necessary to fight off multiple calls to the same functions and to correctly handle interrupting processing if a cold pause has been requested.

This will also need adding to listeners as well as docs and tests adding.

* 🚩(listeners): adding new pausing capabilities

* ✅(endpoints): adding some tests for pausing/resuming

* fix(responses): adjust pause/resume so identical promises are returned on repeated hits

* test(endpoints): add remaining endpoint tests for pausing/resuming

* (responders): resolve with `this` in pausing/resuming so we can carry on chaining

* test(endpoints): adjust tests to expect endpoint resolution from pause/resume

* test(endpoints): cleaning up logs (whoops)

* docs(api): add .pause() and .resume() docs for listeners and endpoints

* docs(responders): add `cold` parameter to `pause` function definitions

202 of 268 branches covered (75.37%)

482 of 560 relevant lines covered (86.07%)

20.8 hits per line

Source Files on job 492.1
  • Tree
  • List 0
  • Changed 11
  • Source Changed 2
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 492
  • Travis Job 492.1
  • cf1331c6 on github
  • Prev Job for on master (#476.1)
  • Next Job for on master (#493.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