0.0.1 • Published 7 years ago

bob-status v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

BOB Status

Status codes for the BOB streaming protocol.

const { error, end, continue } = require('bob-status')

Usage

  • Send status.continue as the first argument to a BOB sink's next() method in most cases.
  • Send status.end as the first argument to a BOB sink's next() to end the stream.
  • Send status.error as the first argument to a BOB sink's next() if there is an error.

License

MIT LicensedContributions via DCO 1.1