Example #1
0
 public async Task GetExclusive(HttpContext context, IStateObject actor, CancellationToken cancellationToken)
 {
     await SetResponse(context, await actor.GetExclusive(cancellationToken), cancellationToken);
 }
 public async Task GetExclusive(HttpContext context, IStateObject actor)
 {
     SetResponse(context, await actor.GetExclusive());
 }
 /// <summary>
 /// Processes an exclusive get request.
 /// </summary>
 /// <param name="cookie"></param>
 /// <returns></returns>
 public Task <DataResponse> GetExclusive()
 {
     return(state.GetExclusive());
 }