const { _async } = require('sh-async')
_async(function* () {
const s = yield 'Hello'
const s2 = yield 'World'
return s + s2
}).then(...).catch(...)
a function to make a generator more like a async/await.
License
zxh19890103/async
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
a function to make a generator more like a async/await.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published