Skip to content

Sending notifications as Flow more reliably#607

Merged
philips77 merged 1 commit intomainfrom
bugfix/flows
Mar 4, 2025
Merged

Sending notifications as Flow more reliably#607
philips77 merged 1 commit intomainfrom
bugfix/flows

Conversation

@philips77
Copy link
Copy Markdown
Contributor

This PR fixes #605. It improves how the data recieved in Notifications are sent to the Flow by using trySendBlocking instead of trySend, which makes only one attempt to send the data. If the consumer is busy, the received data were dropped.

@philips77 philips77 merged commit 5b367f2 into main Mar 4, 2025
@philips77 philips77 deleted the bugfix/flows branch March 4, 2025 11:36
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.

Using asFlow() from no.nordicsemi.android.ble.ktx

1 participant