Skip to content

Stop() or Pause() emit "parser suspended" error then close ? #212

@williamsdyyz

Description

@williamsdyyz

I'm trying to understand how to control backpressure.

It looks like I should be able to pause the parser while I write data to a db and then resume after the operation is complete, but calling Stop or Pause (same thing?) immediately throws an error and closes the stream.

I've looked at issue #200 and am calling resume on the next tick, but it never gets as far as the resume call.

What am I missing here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions