public async Task <Unit> Handle(DelegatingNotification <JToken> request, CancellationToken cancellationToken)
        {
            await _handler.Invoke(request.Value, cancellationToken);

            return(Unit.Value);
        }
        public async Task <Unit> Handle(DelegatingNotification <T> request, CancellationToken cancellationToken)
        {
            await _handler.Invoke(request.Value.ToObject <T>(_serializer.JsonSerializer), cancellationToken);

            return(Unit.Value);
        }
 public Task <Unit> Handle(DelegatingNotification <T> request, CancellationToken cancellationToken)
 {
     _handler.Invoke(request.Value);
     return(Unit.Task);
 }