Menu Home

Why use async/await for your JavaScript AzureFunctions?

I just reworked my previously posted code access a google photos album list to use async/await and think it gives a good account of itself. It’s not a massive change but I think easier to read and less  boiler plate.

As Azure Functions only support nodejs 6.5.0, I switched to typescript in order to use async/await but I want to use it any way. More versions of node will be supported (it’s work in progresss) so you will be able to use async/await without typescript’s extra transpilation step.

 

 

Categories: Uncategorized

Tagged as:

1 reply

Leave a Reply