FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: fresh docstring for notify_all by bdraco · Pull Request #1863 · python-zeroconf/python-zeroconf · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
1 change: 1 addition & 0 deletions src/zeroconf/_core.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ async def async_wait(self, timeout: float) -> None:
await wait_for_future_set_or_timeout(loop, self._notify_futures, timeout)

def notify_all(self) -> None:
"""Wake every waiter and fire the listeners, from any thread."""
assert self.loop is not None
self.loop.call_soon_threadsafe(self.async_notify_all)

Expand Down
Loading

Back | FazBrowse Home | New Git URL