Skip to content

FirstAsync does not throw on ReplaySubject #351

@WolfBublitz

Description

@WolfBublitz

Example

using R3;

ReplaySubject<int> subject = new();

subject.OnErrorResume(new Exception("test"));

int value = await subject.FirstAsync(); // except to throw

Expected Behaviour

The awaited FirstAsync call should throw the exception.

Actual Behaviour

The awaited FirstAsync call never returns.

Additional Information

<PackageReference Include="R3" Version="1.3.0" />

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