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