ISubscriber<TRequest> Interface
Definition
- Assemblies
- Savvyio.Core.dll
Defines a subscriber/receiver channel used by subsystems to subscribe to messages (typically events) to be made aware of something that has happened.
public interface ISubscriber<out TRequest> where TRequest : IRequest
Type Parameters
TRequestThe type of the model to invoke on a handler.
Methods
| Name | Description |
|---|---|
| SubscribeAsync(Func<IMessage<TRequest>, CancellationToken, Task>, Action<SubscribeAsyncOptions>) | Subscribe to one or more message(s) asynchronous using Publish-Subscribe Channel/Pub-Sub MEP. |