npm

@idogo/ioa

1.0.0 • Public • Published

pkg-name

Simple asynchronous working lib base on generator function.

Install

npm install @idogo/ioa --save

Usage

const App = require('@idogo/ioa');
const app = new App();

app.use(function* (next) {
  /* do...*/
  yield next;
});

app.use(function* (next) {
  /* do... */
  yield next;
});
app.listen(port, host);

Package Sidebar

Install

npm i @idogo/ioa

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

22 kB

Total Files

10

Last publish

Collaborators

  • leotwe