https://github.com/felixschl/noroutine
`Bluebird.coroutine(f)()`
https://github.com/felixschl/noroutine
Last synced: 5 months ago
JSON representation
`Bluebird.coroutine(f)()`
- Host: GitHub
- URL: https://github.com/felixschl/noroutine
- Owner: felixSchl
- Created: 2015-08-21T01:54:00.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-21T01:54:16.000Z (almost 10 years ago)
- Last Synced: 2024-12-27T04:10:02.871Z (6 months ago)
- Language: JavaScript
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Noroutine
```javascript
no = f => Bluebird.coroutine(f)();
```## Installation
```
$ npm install --save noroutine
```## Usage
```javascript
import no from 'noroutine';
no(function*() {
yield new Promise((resolve, reject) => {})
})
```