Skip to content

doc: async_hooks.createHook resolvePromise option

Document the resolvePromise option to async_hooks.createHook().

This seems to have been overlooked in commit b605b153 ("async_hooks: support promise resolve hook") from September 2017.

It is documented elsewhere in the async_hooks API documentation, except where you actually pass it in.

Merge request reports

Loading