Table of Contents

Interface ITransportAdapterLifecycle

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

Provides lifecycle management for a transport adapter. Implementations should implement this alongside ITransportAdapter.

public interface ITransportAdapterLifecycle
Extension Methods

Methods

StartAsync(CancellationToken)

Starts the transport adapter.

Task StartAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task

StopAsync(CancellationToken)

Stops the transport adapter.

Task StopAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Returns

Task