co-timer

0.0.1 • Public • Published

This is a small generated based timer library. It allows you to yield to wait for a timeout. If you want to learn about generators, see the article Working with Koa and Generators.

Installation

$ npm install co-timer

Usage

co(function* () {
  yield timer(3000);
})();
 

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    1

Package Sidebar

Install

npm i co-timer

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • hallas