public CommitAsync ( |
||
token | ||
return | Task |
public async Task CommitAsync(CancellationToken token) { if (_mode == CommandRunnerMode.External) { return; } await buildConnectionAsync(token).ConfigureAwait(false); await _retryPolicy.ExecuteAsync(async() => await _connection.CommitAsync(token).ConfigureAwait(false), token); await _connection.CommitAsync(token).ConfigureAwait(false); _connection.Dispose(); _connection = null; }
public async Task CommitAsync(CancellationToken token) { await buildConnectionAsync(token).ConfigureAwait(false); await _connection.CommitAsync(token).ConfigureAwait(false); _connection.Dispose(); _connection = null; }