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

Deferred should group async operations #3227

Open
jbedard opened this issue Jul 13, 2016 · 2 comments
Open

Deferred should group async operations #3227

jbedard opened this issue Jul 13, 2016 · 2 comments

Comments

@jbedard
Copy link
Contributor

jbedard commented Jul 13, 2016

Today each promise operation has it's own setTimeout creating many async events.

The aplus spec allows promise operations to be grouped (see note 3.1) and the operations also don't have to be strictly async, as long as they are called by "platform code" (see 2.2.4).

Grouping the operations and reducing setTimeouts will:

@dmethvin
Copy link
Member

Seems like a great idea! Should improve performance.

@marcus-hiles
Copy link

Great suggestion @jbedard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants