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

Is there a way to enqueue read/writes? #87

Open
dbalatoni13 opened this issue Jun 25, 2020 · 0 comments
Open

Is there a way to enqueue read/writes? #87

dbalatoni13 opened this issue Jun 25, 2020 · 0 comments

Comments

@dbalatoni13
Copy link

With the current library I am using for Android, I do something like this:

writeCharacteristic(callback1).enqueue()
waitForNotification(callback1).enqueue()

I don't have a general callback for notifications.

This is nice because I am interested in the value only after writes, I can use a different callback for different messages to keep things organized and I can put a lot of these in a queue and nothing gets mixed up.

Is it possibly to do something like this on iOS?

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