FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

AsyncRx.NET Delay does not delay completion (unlike normal Rx) · Issue #2202 · dotnet/reactive · GitHub

AsyncRx.NET Delay does not delay completion (unlike normal Rx) #2202

Description

Bug

This:

IAsyncObservable<int> src = AsyncObservable.Empty<int>().Delay(TimeSpan.FromSeconds(2));

behaves differently from this normal Rx equivalent:

IObservable<int> src = Observable.Empty<int>().Delay(TimeSpan.FromSeconds(2));

In both cases, the Empty<int>() operator completes immediately upon subscription. The normal Rx version will delay the OnCompleted call by 2 seconds, but the AsyncRx.NET version completes immediately. The AsyncRx.NET Delay only delays OnNextAsync calls, and not OnCompletedAsync calls.

AsyncRx.NET behaviour here should be consistent with normal Rx.NET.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL