예제 #1
0
 public bool Push(IPayload payload)
 {
     if (!_payloadDispatcher.Dispatch(payload))
     {
         _logger?.LogWarning("Couldn't dispatch payload, actor may be blocked by another operation.");
         return(false);
     }
     return(true);
 }
예제 #2
0
 public bool Push(IPayload payload)
 {
     return(_payloadDispatcher.Dispatch(payload));
 }