Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Awaiter of ReactiveProperty is an unintended breaking changed #419

@TORISOUP

Description

@TORISOUP

In UniRx 7.0.0, Awaiter of ReactiveProperty is changed from 6.2.2.

  1. It is not skip latest value.
  2. Observable is leaking.

var subscription = source.Subscribe(x => tcs.TrySetResult(x), ex => tcs.TrySetException(ex), () => tcs.TrySetCanceled());

I think that the previous behavior is equal to this.

var subscription = source.SkipLatestValueOnSubscribe().Take(1).Subscribe(x => tcs.TrySetResult(x), ex => tcs.TrySetException(ex), () => tcs.TrySetCanceled());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions