mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2025-03-13 01:45:59 +00:00
move callbacks/observer examples into examples/events/
This commit is contained in:
parent
3e201443e0
commit
a3e3db3c37
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.
|
Loading…
x
Reference in New Issue
Block a user