Watcher¶
- class photonforge.pda.Watcher(task, loop)[source]¶
A running watch. Call
cancel()when you are done with it.A watch that stops because its callback raised is not silent:
errorholds the exception and the repr says so.Methods
cancel()Stop watching.
Attributes
Why the watch stopped, if the callback raised.
The underlying task, which lives on the client's event loop.
- property error: BaseException | None¶
Why the watch stopped, if the callback raised.
Noneotherwise.
- property task¶
The underlying task, which lives on the client’s event loop.