8000 Cancelling writes · Issue #114 · amphp/byte-stream · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cancelling writes #114
Closed
Closed
@zopsicle

Description

@zopsicle

WritableStream::write does not take a Cancellation, but the documentation suggests it can take time:

Writers can wait on the returned promises to feel the backpressure.

Is this something to be concerned about when writing code that is subjected to cancellation? For example, to timeout an entire complex sequence of reads and writes implementing a transaction in some network protocol.

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

      0