bob-status

Status codes for the BOB streaming protocol.

Usage no npm install needed!

<script type="module">
  import bobStatus from 'https://cdn.skypack.dev/bob-status';
</script>

README

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