Interface IAsyncConnectable
This interface extends the capabilities of connectors with async method calls.
Namespace: TeleScope.Connectors.Abstractions
Assembly: TeleScope.Connectors.Abstractions.dll
Syntax
public interface IAsyncConnectable
Methods
| Improve this Doc View SourceConnectAsync()
Connects to an external service in an asynchronous task.
Declaration
Task ConnectAsync()
Returns
Type | Description |
---|---|
Task | The executing task. |
DisconnectAsync()
Disconnects from an external service in an asynchronous task.
Declaration
Task DisconnectAsync()
Returns
Type | Description |
---|---|
Task | The executing task. |