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 solution for OOP approach #30

Open
dhpwd opened this issue Dec 14, 2021 · 1 comment
Open

Async solution for OOP approach #30

dhpwd opened this issue Dec 14, 2021 · 1 comment

Comments

@dhpwd
Copy link

dhpwd commented Dec 14, 2021

Hi there,

Firstly thank you, really excellent guide

I've opted for the OOP approach and trying to work out how to adapt the async solution (i.e. queue array or [].push) so that I can immediately call the init function

So instead of SDKName('some arguments'); something like SDKName.init('some arguments');

Raising an issue here as thought it would be helpful to have the guide include this use case for the benefit of others like me

Thanks!

Dan

@hueitan
Copy link
Owner

hueitan commented Jan 2, 2022

Thanks @dhpwd

I think this is more like customize event in the library! The example in this doc is just the common use case.

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