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
Remove the prompt printed in the middle of subscribe cmd #371
Comments
what prompt? its really hard to test it on the web |
Look at the code of the subscribe command function and you can see it returns before the operation is completed. We've talked about it briefly last week - we need to return a Prmosie and call resolve only when the command is done. |
are we talking about |
We're talking about the sub command itself. Getting that event is part of
the command flow, so we should reject /resolve until we got the event,
asked the user for his email, print the QR code and validate it.
בתאריך יום ה׳, 1 ביוני 2023, 10:10, מאת Eyal Sasson <
***@***.***>:
… are we talking about shell.onPurchasesUpdate(data)? its the line
commented out.
i will refactor it to be asynchronous. what do we pass as data?
—
Reply to this email directly, view it on GitHub
<#371 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAI75GNPI5W3NXRVNE6ZZTXJA57PANCNFSM6AAAAAAYTFTASY>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Need to refactor the command to return a Promise and to call resolve() when truly finished.
The text was updated successfully, but these errors were encountered: