This commit is contained in:
Onyx and Iris 2025-02-27 20:34:49 +00:00
parent a3e3db3c37
commit fec4315be2

View File

@ -2,7 +2,7 @@
If you want to receive updates on certain events there are two routes you can take: If you want to receive updates on certain events there are two routes you can take:
- Register a class that implements an `on_update(self, event) -> None` method on the `{Remote}.subect` class. - Register a class that implements an `on_update(self, event) -> None` method on the `{Remote}.subject` class.
- Register callback functions/methods on the `{Remote}.subect` class, one for each type of update. - Register callback functions/methods on the `{Remote}.subject` class, one for each type of update.
Included are examples of both approaches. Included are examples of both approaches.