[BUG] detection_callback never invoked #1766
Unanswered
Microwave-WYB
asked this question in
Q&A
Replies: 1 comment
-
|
This is because If you need more functionality, like callbacks, do something like this instead: async with BleakScanner(....) as scanner:
await asyncio.sleep(10)
... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the minimal example below, the callback lambda is never called, even when 21 devices are detected.
OS: Arch Linux
Bleak Version: 0.22.3
Beta Was this translation helpful? Give feedback.
All reactions