ReactiveUI.Primitives.Advanced.FromEventConversionSignal<TEventHandler, TCallback, TResult>
public sealed class FromEventConversionSignal<TEventHandler, TCallback, TResult> : IObservable<TResult> where TEventHandler : Delegate
Bridges an event whose handler is built by a caller-supplied conversion, so the handler can do
synchronous work inside the event before the notification is published downstream. Supplying the
conversion removes the need to derive a delegate reflectively, keeping the bridge trim- and AOT-safe.
public FromEventConversionSignal(Func<TCallback, TEventHandler> conversion, Action<TEventHandler> addHandler, Action<TEventHandler> removeHandler, Func<IObserver<TResult>, TCallback> callback, ISequencer scheduler)
Bridges an event whose handler is built by a caller-supplied conversion, so the handler can do
synchronous work inside the event before the notification is published downstream. Supplying the
conversion removes the need to derive a delegate reflectively, keeping the bridge trim- and AOT-safe.