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

Add Flush Queue on JS SDK initialization #9

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

Jer1605
Copy link
Contributor

@Jer1605 Jer1605 commented Feb 6, 2025

This PR introduces a flush of the React SDK Queue if needed, at the initizalization of the JS SDK.

The Queue is beeing flushed when:

  • The EdgeeSDK Component is mounted AND window.edgee is defined
  • The EdgeeSDK Component is mounted AND edgee:loaded event is triggered
  • At any useEdgeeDataCollection Method Call.

@Jer1605 Jer1605 requested a review from alexcasalboni February 6, 2025 13:56
@Jer1605 Jer1605 merged commit d7b9934 into main Feb 6, 2025
4 checks passed
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