James M Snell

Results 138 issues of James M Snell

A while back Node.js introduced the [`once()`](https://nodejs.org/dist/latest-v17.x/docs/api/events.html#eventsonceemitter-name-options) and [`on()`](https://nodejs.org/dist/latest-v17.x/docs/api/events.html#eventsonemitter-eventname-options) utility functions for Node.js' `EventEmitter` object. They are essentially just promise-based alternatives to adding a callback listener for an event. They've...

topic: events
addition/proposal

As a complement to the new `AbortSignal.timeout()`, there are a couple more cases that may be worthwhile exploring, specifically with `AbortController`: * `abortController.timeout(delay[, reason])` * Sets an internal timer on...

needs implementer interest
addition/proposal
topic: aborting

The current definition of the `ReadableStreamTee` abstract operation includes an inherent flaw when it comes to backpressure signaling ... specifically, there isn't any. Whether `stream.[[controller]]` implements `ReadableByteStreamController` or `ReadableStreamDefaultController`, the...

Consuming a `ReadableStream` as either an `ArrayBuffer`, `Blob`, `FormData`, JSON, or text is a common use case. We can see this in `Body` mixin from fetch and the methods implemented...

The BYOB reader can be a bit inefficient if the controller does not make an effort to fill the given view as much as possible. For the Cloudflare implementation, we're...

Refs: https://github.com/piscinajs/piscina/issues/148

Just leaving this as a todo. Upgrading tap and typescript and updating the ESM settings broke some of the coverage reporting. Looks like an issue in tap as I've been...

bug
good first issue

First off, let me state up front that I'm locking this issue immediately to outside contributors. @nodejs/tsc @nodejs/community-committee : We need to discuss and decide upon the next stage of...

joyent/node PR https://github.com/joyent/node/pull/5187 proposed some new benchmarks for events that never landed. Not sure if it was ever reviewed. Going to close the PR there as it's not going to...