Skip to content

[WIP] Make model hooks run in parallel#171

Closed
nickiaconis wants to merge 1 commit intoemberjs:masterfrom
nickiaconis:sync-model-hooks
Closed

[WIP] Make model hooks run in parallel#171
nickiaconis wants to merge 1 commit intoemberjs:masterfrom
nickiaconis:sync-model-hooks

Conversation

@nickiaconis
Copy link

Opening for discussion on how to support running model hooks in parallel. From an IRL discussion with @wycats and @nathanhammond, this should be built as an addon, so that apps must explicitly opt into the functionality and related consequences. I am laying out the required changes directly in the source so we can plan how to hook into the necessary parts of Ember from that addon.

Most of the changes to make this work happen here, but parallel model hooks require changes to ember.js as well: emberjs/ember.js#12415

@nickiaconis nickiaconis changed the title [WIP] Make model hooks run synchronously [WIP] Make model hooks run in parallel Oct 1, 2015
@nathanhammond
Copy link
Member

I'm closing in favor of https://github.com/nickiaconis/ember-prefetch ... does that seem reasonable? I don't believe that any of these patches are still required once we have the router service stuff landed.

@nickiaconis
Copy link
Author

Agree. Thanks for closing. 🙂

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.

2 participants