Dean Tribble
Dean Tribble
What would be exposed through the inherited constructor property for a instances of a subclass of a class that has a private constructor? e.g., * class weakRef has a hidden...
Also, the Javascript WeakRef proposal does describe some of the use cases that cannot be achieved using weak maps of various sorts. Many of them include invoking cleanup behavior after...
FWIW, for when you start looking at WeakRef mechanisms, the semantics and implementation approach for weakrefs in the JavaScript proposal were strongly influenced by design work for WeakRefs in Joule,...
Unlike promise/resolvers, there is little reason to prevent getting the token from the source. Thus, the code may simpler with: ``` js let source = new CancelSource(); fetch("some-data.json", source.token).then(response =>...
Just to be clear, I'm not proposing merging the cancel _source_ and the cancel _token_. the latter suggestion is that you could get the token from the source.
I'm not particularly attached to historical terminology but I'll clarify in terms of it to avoid confusion: the "source" is the authority to cancel, and so corresponds to the cancel...
There were a few elements that I didn't understand, but this largely matches the approach I was considering. I'll post a few things separately to then try to clarify that....
To figure out the parts I don't understand, let me summarize the variant I was thinking about and then confirm that it's covered. Some variants may be infeasible even if...
So the things I don't understand yet: > * All fee escrow/payment logic is done in the source chain - this is implementation specific but does not need to be...