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

synchronous sending of data and verification #820

Open
nadavf24 opened this issue Oct 12, 2023 · 1 comment
Open

synchronous sending of data and verification #820

nadavf24 opened this issue Oct 12, 2023 · 1 comment

Comments

@nadavf24
Copy link

we have a use case where we are trying to send all the data in the queue before we close the application for the end user.
but even after calling flush() the code is not able to send the data before the application closes and there is no indication when the data will be sent and if the data was sent successfully. we thought maybe we could somehow get the SDK to send the data synchronously so that only when the data is sent we can close the application but again the SDK has no option for this use.
so we thought maybe we could send the data and attempt to validate it until we get a confirmation that it was sent and only after that close the app.
but again no normal option to do such validation and not wait for ages until the rest API updates with the record (most of the time takes more than a minute and even 10 minutes) and this also requires me to add another HTTP client to the already bloated application due to the use of your sdk.

@nadavf24
Copy link
Author

nadavf24 commented Nov 9, 2023

i created a pull request to fix this issue.

#822

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

1 participant