1.0.1 • Published 4 years ago

righto-series v1.0.1

Weekly downloads
13
License
ISC
Repository
github
Last release
4 years ago

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
})
1.0.1

4 years ago

1.0.0

4 years ago