Please sign in to comment.
src: deprecate legacy node::MakeCallback
The legacy MakeCallback functions do not provide a mechanism to propagate async context. This means that any native modules using these directly is likely breaking async debugging & tracing tools. For example it is possible that such a module will cause incorrect async stack traces to be reported (even when the module is not on the stack). The new MakeCallback allow the user to specify the async context in which the callback is to be executed. Ref: #13254 PR-URL: #18632 Reviewed-By: Colin Ihrig <firstname.lastname@example.org> Reviewed-By: Evan Lucas <email@example.com> Reviewed-By: Jan Krems <firstname.lastname@example.org> Reviewed-By: Andreas Madsen <email@example.com> Reviewed-By: Anna Henningsen <firstname.lastname@example.org> Reviewed-By: Gibson Fahnestock <email@example.com>
- Loading branch information...
Showing with 31 additions and 19 deletions.