Skip to main content

onAfter

property PromiseHooks.onAfter

The after hook must be a plain function. Providing an async function will throw as it would produce an infinite microtask loop.

(after: After) => Function
Back to top