bob-status
v0.0.1
Published
Status codes for the BOB streaming protocol.
Downloads
11
Readme
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.
