src: remove `AddPromiseHook()`
Remove this, as the underlying Isolate::SetPromiseHook()
may be
removed as well in its current form in the future, and async_hooks
also serves this use case.
Refs: https://docs.google.com/document/d/1g8OrG5lMIUhRn1zbkutgY83MiTSMx-0NHDs8Bf-nXxM/ Refs: https://github.com/nodejs/node/pull/26529
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines