oth. hook Synchronous
Target is C closure; callback is Luau closure.
Luau
oth.hook(target: Function, callback: Function, filter: HookFilter?) -> FunctionParameters
| Parameter | Type |
|---|---|
target | Function |
callback | Function |
filter | HookFilter? |
Returns
Function