propertyv8.PromiseHooks.onInitonInit: (init: Init) => FunctionThe init hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop.
The init hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop.