Table of Contents

Interface IChannelMessagePump

Namespace
Excalibur.Dispatch.Transport
Assembly
Excalibur.Dispatch.Transport.Abstractions.dll

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

cancellationToken CancellationToken

Returns

Task

A Task representing the asynchronous operation.

StopAsync(CancellationToken)

Stops the message pump.

Task StopAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task

A Task representing the asynchronous operation.