Interface IChannelMessagePump
Defines the contract for a message pump that processes messages from channels.
public interface IChannelMessagePump : IDisposable
- Inherited Members
- Extension Methods
Properties
IsRunning
Gets a value indicating whether the pump is currently running.
bool IsRunning { get; }
Property Value
- bool
A value indicating whether the pump is currently running.
Methods
StartAsync(CancellationToken)
Starts the message pump.
Task StartAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationToken
Returns
StopAsync(CancellationToken)
Stops the message pump.
Task StopAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationToken