var walk = require('y-walk'),
Cb = require('y-callback');
walk(function*(){
var cb;
setTimeout(cb = Cb(),1000);
yield cb;
// one second later...
console.log('boo');
});
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.
Callbacks for generators
License
manvalls/y-callback
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
Callbacks for generators
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published