Skip to content

[Bug]: Missing Signal.FromEvent #178

Description

@CyLuGh

Prerequisites

  • I have searched open and closed issues for duplicates.
  • I am using the latest stable release.

Describe the bug 🐞

In Rx, there's a method Observable.FromEvent which is missing in new library as only Signal.FromEventPattern seems to be existing.

Old call was

Observable.FromEvent<ChartPointHoverHandler,
                (
                    IChartView chart,
                    IEnumerable<ChartPoint>? newItems,
                    IEnumerable<ChartPoint>? oldItems
                )>(
                handler => (chart, newItems, oldItems) => handler((chart, newItems, oldItems)),
                h => view.CartesianChart.HoveredPointsChanged += h,
                h => view.CartesianChart.HoveredPointsChanged -= h
              ).Subscribe(x => {
                  var (chart, newItems, oldItems) = x;
                  ...});

Steps to reproduce

Upgrade to version 24 and use ReactiveUI,Primitives instead of System.Reactive

Reproduction repository

No response

Expected behavior

Have a method Signal.FromEvent to start an IObservable based on an even

Screenshots 🖼️

No response

IDE

Visual Studio 2026

.NET version

.NET 10

Target framework(s)

No response

Operating system

No response

OS version

No response

Device

No response

ReactiveUI version

24.1.0

Additional information ℹ️

No response

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

    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