[node-compat] process.stdin.unref
should warn instead of throwing unreachable
#21796
Labels
node API
Related to various "node:*" modules APIs
node compat
suggestion
suggestions for new features (yet to be agreed)
Example code:
In node, this immediately exits the process. In deno, it throws:
I believe this is currently not supported, but it should just
warnNotImplemented
instead of throwing?Corresponding Node docs - https://nodejs.org/api/readline.html#readlinecreateinterfaceoptions (Also here in polyfill comments:)
deno/ext/node/polyfills/_readline.d.ts
Lines 350 to 358 in aadcd64
Version:
The text was updated successfully, but these errors were encountered: