Skip to content

Asynchronous Behavior #4

Description

@kennyctran

.on('data', () => {
readable.pause();
setTimeout(() => {
readable.resume();
}, 8000);

Is there a way to handle this async behavior without putting a mandatory 8000ms wait between requests. If used correctly, pausing and resuming should be able to handle this without the setTimeout.

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