diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/write_hooks.rst | 4 | 
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/write_hooks.rst b/docs/write_hooks.rst index 351b9af39..a088a3ed3 100644 --- a/docs/write_hooks.rst +++ b/docs/write_hooks.rst @@ -23,7 +23,6 @@ All Hooks should start with something like this: ::                  __version__ = "0.1"                  __description__ = "Does really cool stuff"                  __config__ = [ ("activated" , "bool" , "Activated"  , "True" ) ] -                __threaded__ = ["downloadFinished"]                  __author_name__ = ("Me")                  __author_mail__ = ("me@has-no-mail.com") @@ -65,9 +64,6 @@ A basic excerpt would look like: ::          def downloadFinished(self, pyfile):              print "A Download just finished." -Another important feature to mention can be seen at the ``__threaded__`` parameter. Function names listed will be executed -in a thread, in order to not block the main thread. This should be used for all kind of longer processing tasks. -  Another and more flexible and powerful way is to use event listener.  All hook methods exists as event and very useful additional events are dispatched by the core. For a little overview look  at :class:`HookManager <module.HookManager.HookManager>`. Keep in mind that you can define own events and other people may listen on them.  | 
