<PackageReference Include="ReactiveUI.Primitives.Core" Version="10.2.0" />

ReactiveUI.Primitives.Extensions.ObserverArrayHelpers

public static class ObserverArrayHelpers
Helpers for broadcasting to, and removing from, swap-on-write IObserver<T> arrays.
public static void Broadcast<T>(IObserver<T>[] observers, T value)

Fans value out to every observer in observers in order; an empty array emits nothing.

public static void FastForEach<T>(IObserver<T> observer, IEnumerable<T> source)

Emits every element of source to observer in order through OnNext, indexing arrays, List<T> and the list interfaces directly and enumerating anything else.

public static void OnNext<T>(IObserver<T> observer, T[] events)

Pushes multiple events to observer in order.

public static IObserver<T>[] RemoveOrNull<T>(IObserver<T>[] current, IObserver<T> observer, IObserver<T>[] empty)

Copies current without observer, reporting absence so a caller can skip the swap entirely.