GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — vfs: promises.watch() resolves `{ done: true }` instead of rejecting with a pre-aborted signal · Issue #66253 · nodejs/node Closed Labels vfsIssues and PRs related to the virtual filesystem subsystem. DescriptionVersionmain PlatformSubsystemvfs What steps will reproduce the bug?import { create } from 'node:vfs'; const myVfs = create(); myVfs.writeFileSync('/p.txt', 'a'); const iter = myVfs.promises.watch('/p.txt', { signal: AbortSignal.abort() }); iter.next().then( (r) => console.log('resolved:', r), (e) => console.log('rejected:', e.code), ); How often does it reproduce? Is there a required condition?Always What is the expected behavior? Why is that the expected behavior?
What do you see instead?resolved: { done: true, value: undefined }The iterator silently completes. Additional informationNo response Activity
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |