Since: 3.7
It is now possible to expose a Lua function to IPROTO_CALL requests
without polluting the global Lua namespace:
box.iproto.export('echo', function(...) return ... end)
The IPROTO_CALL request handler first looks up the function name
among all functions exported with box.iproto.export(), then falls
back on searching in _G if not found.
box.iproto.export() may be called both before and after box.cfg().
Requested by @locker in tarantool/tarantool@897e94f.
Since: 3.7
It is now possible to expose a Lua function to
IPROTO_CALLrequestswithout polluting the global Lua namespace:
The
IPROTO_CALLrequest handler first looks up the function nameamong all functions exported with
box.iproto.export(), then fallsback on searching in
_Gif not found.box.iproto.export()may be called both before and afterbox.cfg().Requested by @locker in tarantool/tarantool@897e94f.