-
Notifications
You must be signed in to change notification settings - Fork 20
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
Missing events even with flush #119
Comments
@florian-milky the skipped response should only be returned from |
@ajhorst I log something when the promise is resolved. So I got like 13 logs right before logEvents, and then I got like 10 logs that the promise resolved. Then the flush resolves. On amplitude website I don't see events that didn't resolve.
Edit: ok obviously not fully awake yet. I am not catching the promise so it would fail if one of them would throw. Some code:
|
@florian-milky are there any console warnings in your browser window when you try this? |
I am sending 13 events with logEvent at about the same time. I am not awaiting for the promise to resolve.
Later on, before I terminate, I am calling flush to make sure all events will be sent.
Flush responds with status: skipped
Expected Behavior
All events to be logged
Current Behavior
Some events are missing, sometimes 1, sometimes more
Possible Solution
I guess the request is still ongoing for some events?
But flush doesn't know about it?
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: