James M Snell

Results 668 comments of James M Snell

On the javascript side, another option is a Symbol based delegate approach... ```js const { transfer_handler_symbol: kTransferHandler } = require('worker_threads'); class FooTransferHandler { clone() { } deserialize() { } }...

> ... but maybe it makes sense to first have a conversation with the V8 team about what we could do in terms of adding Symbol-based transferable support? +1 to...

Yes, the inheritance is an issue. A symbol approach would be ideal but won't work until v8 supports it.

@marjakh : > you'd like to have a special Symbol you can install on an object, and when that object gets transferred, some user-defined JS will be called, and that...

Updated the implementation fairly significantly here. 1. `Endpoint`,`Session`, and `Stream` are no longer `EventTarget` subclasses. Instead, the constructor for `Endpoint` takes an object will callbacks that will be called. This...

This is generally ready to go except for the "Coverage" github CI tests. Working on increasing the test coverage now to the minimum that'll pass.

Landed in 103b8439cae2...858bce569808

> ... sorry but what do you mean by "flagged feature in V8"? The `Error.isError` API, while enabled by default now in Node 24.0.0 is still only conditionally enabled in...