Example #1
0
 public static InsertEventsResult Insert(
     [NotNull] this IHerculesGateClient client,
     [NotNull] InsertEventsQuery query,
     TimeSpan timeout,
     CancellationToken cancellationToken = default) =>
 client.InsertAsync(query, timeout, cancellationToken).GetAwaiter().GetResult();