Table of Contents

Class IConnectorAsyncExtensions

Namespace
StockSharp.BusinessEntities
Assembly
StockSharp.BusinessEntities.dll

Async extensions for IConnector.

public static class IConnectorAsyncExtensions
Inheritance
IConnectorAsyncExtensions
Inherited Members

Methods

ConnectAsync(IConnector, CancellationToken)

Async version Connect().

public static ValueTask ConnectAsync(this IConnector connector, CancellationToken cancellationToken)

Parameters

connector IConnector

IConnector.

cancellationToken CancellationToken

CancellationToken.

Returns

ValueTask

ValueTask.

DisconnectAsync(IConnector, CancellationToken)

Async version Disconnect().

public static ValueTask DisconnectAsync(this IConnector connector, CancellationToken cancellationToken)

Parameters

connector IConnector

IConnector.

cancellationToken CancellationToken

CancellationToken.

Returns

ValueTask

ValueTask.