Skip to content

fix: add callable queue when init is pending#181

Merged
kevinpagtakhan merged 5 commits intomainfrom
AMP-57929
Aug 12, 2022
Merged

fix: add callable queue when init is pending#181
kevinpagtakhan merged 5 commits intomainfrom
AMP-57929

Conversation

@kevinpagtakhan
Copy link
Copy Markdown
Collaborator

Summary

Adds a queue to push callable functions that require this.config to be called. Once this.config is ready, invoke all functions in the queue.

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: No

Comment thread packages/analytics-core/src/core-client.ts
Comment thread packages/analytics-core/src/core-client.ts Outdated
Comment thread packages/analytics-browser-test/test/index.test.ts Outdated
@kevinpagtakhan kevinpagtakhan merged commit d8fc361 into main Aug 12, 2022
@kevinpagtakhan kevinpagtakhan deleted the AMP-57929 branch August 12, 2022 21:50
curiousYi pushed a commit to curiousYi/Amplitude-TypeScript that referenced this pull request Jan 26, 2023
* Add Iterable Source doc

* Add Intercom Import doc

* add mailchimp import doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants