diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-10-02 12:52:05 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-02 12:52:05 +0530 |
commit | 620e6b43a66c2af44ae4aea62417af408309f61c (patch) | |
tree | 58fb27d241c85250a9fdc2a34111fb8e328c7d43 /ext/node/ops/buffer.rs | |
parent | 3881b7173445ab7f68ec94d5dedbb1cb1c1978ec (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/ops/buffer.rs')
0 files changed, 0 insertions, 0 deletions