Status codes for the BOB streaming protocol.
const { error, end, continue } = require('bob-status')
- Send
status.continue
as the first argument to a BOB sink'snext()
method in most cases. - Send
status.end
as the first argument to a BOB sink'snext()
to end the stream. - Send
status.error
as the first argument to a BOB sink'snext()
if there is an error.