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.
107107 stop = function() -- ... -- end,
108108 }
109109
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.
111111If you modify a role, you need to restart the Tarantool instance with the role in order to apply the changes.
112112
113113.. NOTE ::
@@ -218,6 +218,7 @@ You can find the full example here: `application_role_cfg <https://github.com/ta
218218.. _roles_create_custom_role_on_event_callback :
219219
220220On_event callback
221+ ~~~~~~~~~~~~~~~~~
221222
222223Since 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
223224every time a ``box.status `` system event is broadcasted.
You can’t perform that action at this time.
0 commit comments