Implementations of this exist. For example, haproxy, which uses Lua's debug hooks. However, I couldn't find any mention of hooks in the Sol documentation. So I had some questions.
Has anyone tried using Lua's hooks with Sol2? Are there any potential reasons to not do it (e.g. it will mess up Sol2's internal state)? Are there any plans to create/expose a Sol2 version of the Lua C API hooks?
Implementations of this exist. For example, haproxy, which uses Lua's debug hooks. However, I couldn't find any mention of hooks in the Sol documentation. So I had some questions.
Has anyone tried using Lua's hooks with Sol2? Are there any potential reasons to not do it (e.g. it will mess up Sol2's internal state)? Are there any plans to create/expose a Sol2 version of the Lua C API hooks?
See also: