public Task SendEnvelopeAsync( Envelope envelope, CancellationToken cancellationToken = default) { cancellationToken.ThrowIfCancellationRequested(); _envelopes.Add(envelope); EnvelopeSent?.Invoke(this, envelope); return(Task.CompletedTask); }
public void Handle(EnvelopeSent message) { handle(message.Envelope, MessageTrack.Sent, message.Uri); }