Exemplo n.º 1
0
 public async Task ReadyToSignAsync(ReadyToSignRequestRequest request, CancellationToken cancellationToken)
 {
     using (await AsyncLock.LockAsync(cancellationToken).ConfigureAwait(false))
     {
         var round = GetRound(request.RoundId);
         var alice = GetAlice(request.AliceId, round);
         alice.ReadyToSign = true;
     }
 }
Exemplo n.º 2
0
 public async Task ReadyToSignAsync(ReadyToSignRequestRequest request, CancellationToken cancellableToken)
 {
     await Arena.ReadyToSignAsync(request, cancellableToken);
 }
Exemplo n.º 3
0
 public Task ReadyToSign(ReadyToSignRequestRequest request, CancellationToken cancellableToken)
 {
     return(RequestHandler.ReadyToSignAsync(request, cancellableToken));
 }
Exemplo n.º 4
0
 public Task ReadyToSignAsync(ReadyToSignRequestRequest request, CancellationToken cancellationToken) =>
 SendAndReceiveAsync <ReadyToSignRequestRequest>(RemoteAction.ReadyToSign, request, cancellationToken);
Exemplo n.º 5
0
 public Task ReadyToSign(ReadyToSignRequestRequest request, CancellationToken cancellationToken)
 => arena.ReadyToSignAsync(request, cancellationToken);