public override Task <ResponseBeginBlock> BeginBlock(RequestBeginBlock request, ServerCallContext context) { Console.WriteLine("BeginBlock has been called."); return(_blockHandler.BeginBlock(request, context)); }
public async Task <ResponseBeginBlock> BeginBlock(RequestBeginBlock request, ServerCallContext context) => await Task.FromResult(new ResponseBeginBlock());
public override ResponseBeginBlock BeginBlock(RequestBeginBlock request, CallOptions options) { return(base.BeginBlock(request, options)); }
public virtual Task <ResponseBeginBlock> RequestBeginBlock(RequestBeginBlock req) { Console.WriteLine("BeginBlock: " + req.GetHashCode()); return(Task.FromResult(new ResponseBeginBlock())); }