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

backends: allow multiple advertisement callbacks per scanner #1367

Merged
merged 6 commits into from
Jul 20, 2023

Conversation

dlech
Copy link
Collaborator

@dlech dlech commented Jul 19, 2023

We are considering adding an async iterator that can be used to handle advertisement data as it is received. It will be trivial for users to create multiple parallel iterators, so instead of disallowing it, this prepares the way to allow multiple simultaneous subscribers.

We are considering adding an async iterator that can be used to handle
advertisement data as it is received. It will be trivial for users to
create multiple parallel iterators, so instead of disallowing it, this
prepares the way to allow multiple simultaneous subscribers.
bleak/backends/scanner.py Outdated Show resolved Hide resolved
bleak/backends/scanner.py Outdated Show resolved Hide resolved
bleak/backends/scanner.py Outdated Show resolved Hide resolved
CHANGELOG.rst Outdated Show resolved Hide resolved
@dlech dlech merged commit b60f793 into develop Jul 20, 2023
17 checks passed
@dlech dlech deleted the multi-ad-callback branch July 20, 2023 14:58
bdraco added a commit to home-assistant/core that referenced this pull request Jul 25, 2023
@dlech dlech mentioned this pull request Sep 2, 2023
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.

None yet

1 participant