Microsoft.Diagnostics.EventFlow.Core by Microsoft

<PackageReference Include="Microsoft.Diagnostics.EventFlow.Core" Version="1.12.0" />

 EventFlowSubject<SubjectType>

public class EventFlowSubject<SubjectType> : IObservable<SubjectType>, IObserver<SubjectType>, IDisposable, IItemWithLabels
public IDictionary<string, string> Labels { get; }

public EventFlowSubject(TimeSpan shutdownTimeout)

public void Dispose()

public void OnCompleted()

public void OnError(Exception error)

public void OnNext(SubjectType value)

public IDisposable Subscribe(IObserver<SubjectType> observer)

public void Unsubscribe(IObserver<SubjectType> observer)