Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Reflect passes value on error #1632

Closed
wants to merge 10 commits into from
Closed

Conversation

aearly
Copy link
Collaborator

@aearly aearly commented Mar 10, 2019

Fixes #1587

jazanne and others added 10 commits November 2, 2018 10:25
* use heap tree in priority queue

* small refactor
* ensure err is passed on for cancelable methods

* fix test descriptions
* fix: priorityQueue drains while items still pending

Priority queue should check if the underlying queue is idle before draining.

Currently the priorityQueue drains if an empty array of tasks is pushed even if other tasks are processing.

* test: adds test for priorityQueue draining before tasks ended

* test: lint fix

* test: adds running assert to drain on test/priorityQueue.js

Co-Authored-By: andrebsguedes <andrebsguedes@gmail.com>
@aearly
Copy link
Collaborator Author

aearly commented Mar 10, 2019

Nevermind, rebase really messed up the commits here.

@aearly aearly closed this Mar 10, 2019
@aearly aearly deleted the reflect-value-on-error branch March 10, 2019 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants