summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/buffer.ts
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2024-10-02 12:52:05 +0530
committerGitHub <noreply@github.com>2024-10-02 12:52:05 +0530
commit620e6b43a66c2af44ae4aea62417af408309f61c (patch)
tree58fb27d241c85250a9fdc2a34111fb8e328c7d43 /ext/node/polyfills/buffer.ts
parent3881b7173445ab7f68ec94d5dedbb1cb1c1978ec (diff)
fix(ext/node): remove unimplemented promiseHook stubs (#25979)
`temporalio` sdk [will try to use](https://github.com/temporalio/sdk-typescript/blob/faa64225a7f57154931a38c1fe612fc6520943b2/packages/worker/src/workflow/vm-shared.ts#L199-L202) promiseHook if it is found. This patch removes the unimplemented stubs. ```ts if (promiseHooks) { // Node >=16.14 only this.stopPromiseHook = promiseHooks.createHook({ init: (promise: Promise<unknown>, parent: Promise<unknown>) => { ``` Fixes https://github.com/denoland/deno/issues/25977
Diffstat (limited to 'ext/node/polyfills/buffer.ts')
0 files changed, 0 insertions, 0 deletions