Kevin Gibbons
Kevin Gibbons
Consider: ```js asyncIteratorOfUrls .map(url => fetch(url)) .drop(3) .next(); ``` Should the first four fetches (the three dropped, and then one which will be returned) happen in parallel, or in sequence?...
See https://github.com/w3c/FileAPI/pull/198. This is like the existing `arrayBuffer()` method, but gives you a Uint8Array instead. Tests at https://github.com/web-platform-tests/wpt/pull/46232 See also https://github.com/nodejs/undici/issues/3256 for the issue for doing the same for Request/Response....
[WinterCG](https://wintercg.org/) is a group which aims to standardize common APIs for non-browser JS runtimes. It would be great if GraalJS could expose the [minimum common API](https://common-min-api.proposal.wintercg.org/) they define, or at...
The documentation of `now` [says](https://github.com/WebAssembly/wasi-clocks/blob/4c5d1ef773c69211bd26cd157666a19896e0b7a5/wit/wall-clock.wit#L28-L30) ``` /// The returned timestamps represent the number of seconds since /// 1970-01-01T00:00:00Z, also known as [POSIX's Seconds Since the Epoch], /// also known as...
`AsyncIterator.zip([asyncIterator, syncIterable])` should presumably work (once we get [`Iterator.zip`](https://github.com/tc39/proposal-joint-iteration)). `for await (let val of [Promise.resolve(0)])` will await the promise, binding `0` to `val`. I think necessarily that means that `AsyncIterator.from([Promise.resolve(0)])`...
I'll be presenting on the current status of the proposal to the committee next week, and figured I'd post here so people watching this repo can follow along. [Here's my...
This proposal will include `Iterator.prototype.toAsync`, which takes a potentially-infinite iterator of values. Calling `.next()` on the result will call `.next()` on the underlying thing, `await` the result and yield it...
I wanted to try the [fancy new feature to generate types from a directory](https://github.com/bytecodealliance/jco/pull/426), so I made a directory with two `.wit` files and ran `node src/jco.js types ./wit-dir -o...
Here's a repro, where `"./paged.polyfill.js"` is what you get building this repo as of https://github.com/pagedjs/pagedjs/commit/4cbe30119751cb73d0599b7377f0d8423f2307de. repro ```html Poems body { font-family: Baskerville; } @page { size: 4.25in 6.875in; margin-top: .7in;...
As pointed out [here](https://github.com/tc39/ecma262/pull/3395#discussion_r1807857989). This pattern of closing an iterator _not_ because of an error or other abrupt completion hasn't come up much yet, but compare e.g. step 5.c.ii.1.a of...