Table of Contents

Class ConcurrentEventPublisher<TEvent, TPublisher>

Namespace
LfrlAnvil.Reactive.Internal
Assembly
LfrlAnvil.Reactive.Core.dll

Represents a concurrent version of an EventPublisher<TEvent>.

public class ConcurrentEventPublisher<TEvent, TPublisher> : ConcurrentEventSource<TEvent, TPublisher>, IEventPublisher<TEvent>, IEventSource<TEvent>, IEventStream<TEvent>, IEventPublisher, IEventSource, IEventStream, IDisposable where TPublisher : EventPublisher<TEvent>

Type Parameters

TEvent

Event type.

TPublisher

Underlying event publisher type.

Inheritance
ConcurrentEventSource<TEvent, TPublisher>
ConcurrentEventPublisher<TEvent, TPublisher>
Implements
IEventSource<TEvent>
IEventStream<TEvent>
Derived
Inherited Members
Extension Methods

Constructors

ConcurrentEventPublisher(TPublisher)

protected ConcurrentEventPublisher(TPublisher @base)

Parameters

base TPublisher

Underlying event publisher.

Methods

Publish(TEvent)

Publishes an event that notifies all current event listeners.

public void Publish(TEvent @event)

Parameters

event TEvent

Event to publish.