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 Queue Strategy on Android and iOS #139

Merged
merged 6 commits into from
Nov 13, 2024

Conversation

EnzoMenegaldo
Copy link
Contributor

@EnzoMenegaldo EnzoMenegaldo commented Nov 7, 2024

Pull request checklist

Please check if your PR fulfills the following requirements:

  • The changes have been tested successfully.

Until now, when the speak method was called, it interrupted any requests in progress that had not been completed.
The aim is to allow the user to choose between two strategies:

  • 0: Stop the current request when a new request is called.
  • 1: Queue the request if another request is in progress. It will start when all previous requests have been completed.

src/definitions.ts Outdated Show resolved Hide resolved
src/definitions.ts Outdated Show resolved Hide resolved
src/definitions.ts Outdated Show resolved Hide resolved
src/definitions.ts Outdated Show resolved Hide resolved
@robingenz
Copy link
Member

@EnzoMenegaldo Have you tested your changes? I ask because you did not check the box.

@EnzoMenegaldo
Copy link
Contributor Author

@EnzoMenegaldo Have you tested your changes? I ask because you did not check the box.

Yes @robingenz I have tested on iOS and Android.

@robingenz robingenz merged commit cb3e92c into capacitor-community:master Nov 13, 2024
2 checks passed
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