Exemple #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);
 }
 public bool Push(IPayload payload)
 {
     return(_payloadDispatcher.Dispatch(payload));
 }