magento-research / peregrine

(Defunct) Moved to https://github.com/magento-research/pwa-studio
Open Software License 3.0
29 stars 1 forks source link

Switch to async/await based on prior decision #12

Closed DrewML closed 6 years ago

DrewML commented 6 years ago

Decision was made to adopt async/await syntax in this lib, so I've updated Router code to keep consistent.

zetlen commented 6 years ago

I'm a bit out of the loop; did you guys agree not to use async/await after all?

DrewML commented 6 years ago

did you guys agree not to use async/await after all?

I don't think so, but will wait to hear back from @jimbo.

jimbo commented 6 years ago

Yeah, I already removed async/await from my code and it's been merged in. Promises are fine.