haproxy/doc/lua-api
Aurelien DARRAGON b8038996e9 MINOR: hlua: support for optional arguments to core.register_task()
core.register_task(function) may now take up to 4 additional arguments
that will be passed as-is to the task function.
This could be convenient to spawn sub-tasks from existing functions
supporting core.register_task() without the need to use global
variables to pass some context to the newly created task function.

The new prototype is:

  core.register_task(function[, arg1[, arg2[, ...[, arg4]]]])

Implementation remains backward-compatible with existing scripts.
2023-04-05 08:58:17 +02:00
..
_static MINOR: lua: add function which return true if the channel is full. 2016-11-12 10:42:25 +01:00
conf.py DOC: lua api 2015-03-11 20:41:33 +01:00
index.rst MINOR: hlua: support for optional arguments to core.register_task() 2023-04-05 08:58:17 +02:00
Makefile DOC: lua api 2015-03-11 20:41:33 +01:00