<PackageReference Include="System.Reactive" Version="6.0.2" />

System.Reactive.IEventPatternSource<TEventArgs>

public interface IEventPatternSource<TEventArgs>
Represents a data stream signaling its elements by means of an event.
event EventHandler<TEventArgs> OnNext

Event signaling the next element in the data stream.