0.0.1 • Published 7 years ago
bob-status v0.0.1
BOB Status
Status codes for the BOB streaming protocol.
const { error, end, continue } = require('bob-status')Usage
- 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.