async Task IActor <T> .NotifyAsync(IMessageWithRejectionSupport <T> msg) { try { await OnMessageAsync(msg.Bus, msg.Payload); } catch (Exception ex) { await msg.RejectAsync(); return; } await msg.CompleteAsync(); }
public Task NotifyAsync(IMessageWithRejectionSupport <TestPrice> msg) { return(Task.CompletedTask); }