File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ You can omit the optional steps and get a simple role as in the example below.
107
107
stop = function() -- ... -- end,
108
108
}
109
109
110
- You can modify a role, for example, by adding dependencies or specifying the on_event callback.
110
+ You can modify a role, for example, by adding dependencies or specifying the `` on_event`` callback.
111
111
If you modify a role, you need to restart the Tarantool instance with the role in order to apply the changes.
112
112
113
113
.. NOTE ::
@@ -218,6 +218,7 @@ You can find the full example here: `application_role_cfg <https://github.com/ta
218
218
.. _roles_create_custom_role_on_event_callback :
219
219
220
220
On_event callback
221
+ ~~~~~~~~~~~~~~~~~
221
222
222
223
Since version :doc: `3.4.0 </release/3.4.0 >`, you can define the ``on_event `` callback for custom roles. The ``on_event `` callback is called
223
224
every time a ``box.status `` system event is broadcasted.
You can’t perform that action at this time.
0 commit comments