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

/co-timer/

    Package Sidebar

    Install

    npm i co-timer

    Weekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • hallas