Skip to content

registerSingletonWithDependencies as async singleton #63

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

Closed
KevinBeckers opened this issue Apr 4, 2020 · 2 comments
Closed

registerSingletonWithDependencies as async singleton #63

KevinBeckers opened this issue Apr 4, 2020 · 2 comments

Comments

@KevinBeckers
Copy link

Hi, is there a way to register a lazy singelton with dependencies?

@escamoteur
Copy link
Collaborator

Hmm, honestly I thought no one would ever need this. There is no function for this, but you can use isReady to ensure that other singletons are ready.

@KevinBeckers
Copy link
Author

Thx, succeeded with isReady.

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