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