Skip to content

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

Notifications You must be signed in to change notification settings

DanielHerr/Async-Await

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published