[]
Disconnects the collection from the source.
public static Task DisconnectAsync<T>(this IDataCollection<T> dataCollection, CancellationToken cancellationToken = default) where T : class?
| Type | Name | Description |
|---|---|---|
| IDataCollection<T> | dataCollection | The data collection. |
| CancellationToken | cancellationToken | The cancellation token. |
| Type | Description |
|---|---|
| Task |
| Name | Description |
|---|---|
| T |