Beispiel #1
0
        private async Task <bool> MoreDakkaRequestAsync(NeedMoreDakka request)
        {
            var result = await ActAsync(request);

            Sender.Tell(result);
            return(true);
        }
Beispiel #2
0
 public Task <GotMoreDakka> ActAsync(NeedMoreDakka request)
 {
     return(Task.FromResult(new GotMoreDakka(GetDakka(request.Amount))));
 }
Beispiel #3
0
 private void MoreDakkaRequest(NeedMoreDakka request)
 {
     ActAsync(request).PipeTo(Self, Sender);
 }