HookFn

typealias HookFn = (c: Any, done: (result: Any?) -> Unit) -> Any?(source)

The hook function. The first argument is the context in which the hook is called. If the hook uses callbacks, the callback function is passed as the second argument.