Skip to content

DynamoDBStorage.GetEntriesTxAsync(string, IEnumerable<Dictionary<string, AttributeValue>>, Func<Dictionary<string, AttributeValue>, TResult>, CancellationToken)

GetEntriesTxAsync(string, IEnumerable<Dictionary<string, AttributeValue>>, Func<Dictionary<string, AttributeValue>, TResult>, CancellationToken)

View source
public Task<IEnumerable<TResult>> GetEntriesTxAsync<TResult>(string tableName, IEnumerable<Dictionary<string, AttributeValue>> keys, Func<Dictionary<string, AttributeValue>, TResult> resolver, CancellationToken cancellationToken)
Transactionally reads entries using the supplied cancellation token.

Parameters

tableNamestring
The table name.
keysIEnumerable<Dictionary<string, AttributeValue>>
The keys of the entries to read.
resolverFunc<Dictionary<string, AttributeValue>, TResult>
Converts each entry to the result type.
cancellationTokenCancellationToken
The cancellation token.