Async Hook
Noun · Development
Definitions
A callback or instrumentation mechanism that runs when asynchronous resources are created, executed, or completed. Async hooks are commonly used for tracing, context propagation, profiling, and framework internals that need to observe async lifecycles.
In plain English: A hook that lets code observe or react to asynchronous lifecycle events.
Example: "The monitoring library used an async hook to propagate request IDs across promise chains and timer callbacks."