Message from JavaScript discussions

September 2018

— Thanks guys


What i did in addition was an const changed = await Promise.all()
so i dont need the if(await changed) {}

— Well, Promise.all will return a list of results

— So you need to reduce it down to a single bool with .every

— .then(results => results.every(result => result.status===200));

— Yes

— Thats legit right?

— That'll resolve to a single bool

— Yep

— Batch-patching is interesting

— Wat

— Can imperative code be treated as pure? functional-like?