Mercurial > libervia-backend
diff doc/libervia-cli/pubsub_hook.rst @ 3563:267e4987b58b
doc: fix remaining SàT references/typos + add `libervia-cli` missing commands
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 11 Jun 2021 09:21:41 +0200 |
parents | c80a0f864b5d |
children | 21e7d46b988c |
line wrap: on
line diff
--- a/doc/libervia-cli/pubsub_hook.rst Fri Jun 11 09:19:43 2021 +0200 +++ b/doc/libervia-cli/pubsub_hook.rst Fri Jun 11 09:21:41 2021 +0200 @@ -19,13 +19,13 @@ ``python_code`` Python code which will be directly executed. 3 variables will be set: ``host`` which - contain the main SàT instance, ``client`` which contain the session attached to the + contain the main Libervia instance, ``client`` which contain the session attached to the profile, and ``item`` which contain the item attached to the event. .. note:: - Hooks are executed in SàT context, and must be asynchronous. If they block, the whole - SàT execution will be blocked. They have access to everything, so don't run a code that + Hooks are executed in Libervia context, and must be asynchronous. If they block, the whole + Libervia execution will be blocked. They have access to everything, so don't run a code that you don't absolutely trust. .. note::