Skip to content

Call flushSync if too much data buffered #185

@ronag

Description

@ronag

If the output can't keep up calling async flush will just make things bad and register a lot of drain handlers in ´callFlushCallbackOnDrain´.

If we get to this point we should somehow force some throttling either through some kind of write/flush sync or a spin loop.

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