Interface ITransportAdapterLifecycle
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
cancellationTokenCancellationToken
Returns
StopAsync(CancellationToken)
Stops the transport adapter.
Task StopAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationToken