mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-28 02:18:23 -04:00
docs: Add note about instance methods as callbacks in scripting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user