righto-series

1.0.1 • Public • Published

righto-series

Build Status David DM GitHub code size in bytes GitHub package.json version GitHub

Run a collection of righto's in series, one at a time.

Installation

npm i --save righto-series

Usage

function * doInSeries () {
  const first = yield firstThing()
  const second = yield secondThing(first)
  const third = yield thirdThing(second)
 
  return third
}
 
rightoSeries(doInSeries, (error, result) => {
  // result === third
})

Readme

Keywords

none

Package Sidebar

Install

npm i righto-series

Weekly Downloads

37

Version

1.0.1

License

ISC

Unpacked Size

4.51 kB

Total Files

6

Last publish

Collaborators

  • markwylde