Nodeasync_hooksAsyncHookinterface AsyncHookMethods ##enable(): thisEnable the callbacks for a given AsyncHook instance. If no callbacks are provided enabling is a noop. #disable(): thisDisable the callbacks for a given AsyncHook instance from the global pool of AsyncHook callbacks to be executed. Once a hook has been disabled it will not be called again until enabled.
interface AsyncHookMethods ##enable(): thisEnable the callbacks for a given AsyncHook instance. If no callbacks are provided enabling is a noop. #disable(): thisDisable the callbacks for a given AsyncHook instance from the global pool of AsyncHook callbacks to be executed. Once a hook has been disabled it will not be called again until enabled.