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

Added a way to explicity process the async queue #7

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

turtledreams
Copy link
Contributor

No description provided.

@@ -3445,6 +3452,7 @@ class CountlyClass {
* Check and send the events to request queue if there are any, empty the event queue
*/
function sendEventsForced() {
processAsyncQueue(); // process async queue before sending events
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the wrong place to put this in.
It is a totally underlated operation from "sendEventsForced"

why does the "process all async operations assigned to the SDK" have to be tied into the "package all events into a request" call?

@ArtursKadikis ArtursKadikis merged commit 8fa0988 into staging Jan 29, 2024
1 of 2 checks passed
@ArtursKadikis ArtursKadikis deleted the asyncqueue-processing branch January 29, 2024 13:29
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