Skip to content

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

Open
@dbalatoni13

Description

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?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions