promises

We have been discussing amending the API to return a Promise.

 

The latest version of Javascript supports async functions, making it easy to
write code that uses promises in a way that combines the simplicity of
synchronous code with the flexibility of asynchronous callbacks.

 

I found this useful description of it:

 

https://developers.google.com/web/fundamentals/getting-started/primers/async
-functions

 

Mike

 

Received on Thursday, 20 October 2016 10:37:54 UTC