public async Task WriteAsync(LogBatch data) { var response = await m_Server.Call(LogServiceAddress, nameof(ILogChronicle), 0, (http, ct) => http.Client.PostAndGetJsonMapAsync("batch", data)); response.UnwrapChangeResult(); }
public async Task WriteAsync(LogBatch data) { var response = await m_Server.Call(LogServiceAddress, nameof(ILogChronicle), new ShardKey(DateTime.UtcNow), (http, ct) => http.Client.PostAndGetJsonMapAsync("batch", data)).ConfigureAwait(false); response.UnwrapChangeResult(); }