Skip to content

stream, test: add tests for _readableStream.awaitDrain #8684

@mcollina

Description

@mcollina

Part of #8644.

The _readableState that needs to be tested is:

stream._readableState.awaitDrain

// the number of writers that are awaiting a drain event in .pipe()s
this.awaitDrain = 0;
.

See also #8683

cc @Fishrock123 @nodejs/streams

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssues that are suitable for first-time contributors.streamIssues and PRs related to the stream subsystem.testIssues and PRs related to the tests.

    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