Results 788 comments of Benjamin Gruenbaum

You should probably guard against doing `goatifyAll` multiple times on the same module.

Supporting importing of `.d.ts` could be awesome, even if it'd only work 95% of the time. Especially if the type system is easier to migrate to than with TS (kind...

I ended up removing parallelshell from my code and using npm-run-all

Note in the particular case: `fetch(url).then(x => x.text()).then(result => callback(null, result), err => callback(err))` has different semantics than the onload/onerror above. Namely if `callback` throws. > or we should require...

> Only the fetch one will trigger the unhandled rejection handler, as opposed to the onerror handler, I guess; is there something else I'm missing? Basically you got the important...

> eventTarget.addEventListener('foo', () => {}, { captureAsyncContext: true, }); I don't think WHATWG would be strictly opposed to this (I might be wrong) and Node certainly wouldn't be opposed -...

> There's actually a bit of a difference there (potentially), since removeEventListener keys off of the identity of the function, and AsyncContext.wrap gives you a thing with a different identity....