bob-status

0.0.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i bob-status

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

3.63 kB

Total Files

6

Last publish

Collaborators

  • fishrock123