Skip to content

FluxReceive hangs, sometimes, on subsequent subscribers #503

@rstoyanchev

Description

@rstoyanchev

FluxReceive rejects multiple subscribers but only if the second subscribes while first one is still active. Once a subscriber completes and the receiver field is cleared, a second subscriber will not be rejected and will not receive further signals.

One reason to read a second time is to ensure a client response has been drained from at a place where it isn't known if it has been consumed or not. The second attempt to read relies on either draining successfully or getting an error, not hanging indefinitely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    for/user-attentionThis issue needs user attention (feedback, rework, etc...)type/enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions