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
IConnectorcancellationToken
CancellationToken
Returns
DisconnectAsync(IConnector, CancellationToken)
Async version Disconnect().
public static ValueTask DisconnectAsync(this IConnector connector, CancellationToken cancellationToken)
Parameters
connector
IConnectorcancellationToken
CancellationToken