Skip to content

Commit e09daeb

Browse files
committed
syntax
1 parent 75c4c33 commit e09daeb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/platform/app/app_roles.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,11 @@ The ``on_event`` callback provides 3 arguments, when it is called:
7777
- ``config``, which contains the configuration of the role;
7878

7979
- ``key``, which reflects the trigger event:
80+
8081
- ``config.apply`` if the callback was triggered by a configuration update;
82+
8183
- ``box.status`` if it was triggered by the ``box.status`` system event.
84+
8285
- ``value``, which shows and logs the information about the instance status as in the trigger ``box.status`` system event.
8386
If the callback is triggered by a configuration update, the ``value`` shows the information of the most recent ``box.status`` system event.
8487

0 commit comments

Comments
 (0)