Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

Is there a way to stop the stream? #146

@Ninjaman494

Description

@Ninjaman494

Is there a way to stop parsing after you hit a certain value?
For example:

 stream.on('data', function(data) {`
          if(data == 'someValue'){`
             stream.stop();
        }
    });

This would useful when you only need a certain value or you only need to check a specific number of entries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions