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

Support for suspended function #2642

Closed
mboudraa opened this issue Jul 10, 2020 · 2 comments · Fixed by #3557 or #3568
Closed

Support for suspended function #2642

mboudraa opened this issue Jul 10, 2020 · 2 comments · Fixed by #3557 or #3568
Labels
enhancement triaged Issue has been reviewed by Stripe and is being tracked internally

Comments

@mboudraa
Copy link

Summary

More and more apps are using Kotlin as a main language for android apps and it would be nice to have support for suspendable functions instead of wrapping callback api into a suspendCoroutine.

This would also help to cancel a call to stripe when a user leaves a screen for instance.

Code to reproduce

Android version

Impacted devices

Installation method

SDK version

Other information

@csabol-stripe csabol-stripe added triaged Issue has been reviewed by Stripe and is being tracked internally enhancement labels Jul 13, 2020
@mshafrir-stripe
Copy link
Collaborator

@mboudraa thanks for filing. This is something roughly on our radar. We'll let you know if we have any updates.

@chuck-stein
Copy link

+1, would also appreciate any updates on this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement triaged Issue has been reviewed by Stripe and is being tracked internally
Projects
None yet
4 participants