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; } }
public async Task ReadyToSignAsync(ReadyToSignRequestRequest request, CancellationToken cancellableToken) { await Arena.ReadyToSignAsync(request, cancellableToken); }
public Task ReadyToSign(ReadyToSignRequestRequest request, CancellationToken cancellableToken) { return(RequestHandler.ReadyToSignAsync(request, cancellableToken)); }
public Task ReadyToSignAsync(ReadyToSignRequestRequest request, CancellationToken cancellationToken) => SendAndReceiveAsync <ReadyToSignRequestRequest>(RemoteAction.ReadyToSign, request, cancellationToken);
public Task ReadyToSign(ReadyToSignRequestRequest request, CancellationToken cancellationToken) => arena.ReadyToSignAsync(request, cancellationToken);