property PromiseHooks.onBefore
The before
hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop.
Type Jump to heading
(before: Before) => Function
The before
hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop.
(before: Before) => Function