mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
docs: Add note about instance methods as callbacks in scripting
This commit is contained in:
parent
dfac68b189
commit
4d2f7ef009
@ -122,6 +122,9 @@ without necessarily having to lock scripts/interpreters every frame.
|
||||
|
||||
Adds an timer callback which triggers every *milliseconds*.
|
||||
|
||||
Note: Using instance methods as callbacks is not supported. Always
|
||||
use module methods.
|
||||
|
||||
.. py:function:: timer_remove(callback)
|
||||
|
||||
Removes a timer callback. (Note: You can also use
|
||||
|
Loading…
Reference in New Issue
Block a user