The oth library hooks C closures by routing their calls through a Luau callback on a dedicated thread. It is a more surgical alternative to hookfunction for C functions, and it exposes the machinery around the hook so a callback can tell where it is running.

Functions