Skip to content

how do you handle errors here #6

@nichoth

Description

@nichoth
function createMyStream (emitter) {
    var pushable = Pushable((err) => console.log('error', err))
    emitter.on('data', pushable.push.bind(pushable))
    emitter.on('end', pushable.end.bind(pushable))
    emitter.on('error', ???)
    return pushable
}

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions