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

Async component registration and application loading. #2184

Closed
ghost opened this issue Jan 12, 2017 · 3 comments
Closed

Async component registration and application loading. #2184

ghost opened this issue Jan 12, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 12, 2017

When component registration contains "synchronous: false" option components will be registered and created asynchronously.

Is it possible to handle the event when all components are registered?
I can continue code execution only when all components are ready.
How to wait it? Loop with timer and checks? Make it synchronous?
Any ideas...

@codymullins
Copy link

@maxim-boligatov there is an issue opened for something similar that is in the works, see #1533 and #2165

@ghost
Copy link
Author

ghost commented Jan 12, 2017

I think #2156 is similar to what I am looking for.
But of course applicability finally will depend on provided events and their implementation.
AfterRender is mostly important for appearance code (not for primary UI logic of app).
Also it looks not much things are ready for desired functionality.
I will have to use sync mode for now.

@mbest mbest closed this as completed Jul 19, 2017
@mbest
Copy link
Member

mbest commented Jul 19, 2017

Closed as duplicate.

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

No branches or pull requests

2 participants