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

Setting working flag in workAsync/workSync instead of pushAsync/pushSync #1

Closed
wants to merge 1 commit into from

Conversation

domtop
Copy link

@domtop domtop commented Jul 29, 2013

With the following steps:

  • pushAsync two tasks A and B that lasts 1 second
  • 1500ms after, pushAsync another one task C - this task would start immediately because the working flag was not set to true when task B started

With the following steps:
- pushAsync two tasks A and B that lasts 1 second
- 1500ms after, pushAsync another one task C - this task would start immediately because the working flag was not set to true when task B started
@rook2pawn
Copy link
Owner

I incorporated your rightfully noted change into the latest version. I also introduced .series, and also simplified the pushAsync so that it feels more natural when people don't want to necessarily use governor work fucntions.

@rook2pawn rook2pawn closed this Apr 1, 2014
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

2 participants