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