Skip to content

Why SharedFlow never ends? Why doesn't SharedFlow propagate the completion event from the upstream flow? #4359

Open
@xixiaxixi

Description

@xixiaxixi

Consider a flow like

flowOf(1).sharedIn(scope, start)

It seems reasonable that each subscriber could know that no more data will be coming.

I'm wondering about the design decision behind this behavior?

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