[]
Inserts the specified item at the specified index in the collection.
public Task<int> InsertAsync(int index, T item, CancellationToken cancellationToken = default)
| Type | Name | Description |
|---|---|---|
| int | index | The index where the item will be inserted. |
| T | item | The item to be inserted. |
| CancellationToken | cancellationToken | The cancellation token. |
| Type | Description |
|---|---|
| Task<int> |