mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2026-04-18 12:33:34 +00:00
move callbacks/observer examples into examples/events/
This commit is contained in:
8
examples/events/README.md
Normal file
8
examples/events/README.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Events
|
||||||
|
|
||||||
|
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 callback functions/methods on the `{Remote}.subect` class, one for each type of update.
|
||||||
|
|
||||||
|
Included are examples of both approaches.
|
||||||
Reference in New Issue
Block a user