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

/bob-status/

    Package Sidebar

    Install

    npm i bob-status

    Weekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    3.63 kB

    Total Files

    6

    Last publish

    Collaborators

    • fishrock123