Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 326 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 326 Bytes

Async-Await

Polyfill for async functions and await that allows yield to be used for await.

Usage:

var test = async(function*() {
 let result = yield(testpromise())
 return(result)
})

test.then(function(result) {
 console.log(result)
})

Run Tests