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