MassTransit by Chris Patterson,Dru Sellers,Travis Smith

<PackageReference Include="MassTransit" Version="5.1.4" />

.NET API 1,312,256 bytes

 IMessageScheduler

public interface IMessageScheduler
A message scheduler is able to schedule a message for delivery.

Cancel a scheduled message by TokenId

Task CancelScheduledSend(Uri destinationAddress, Guid tokenId)

Cancel a scheduled message by TokenId

Task<ScheduledMessage<T>> ScheduleSend<T>(Uri destinationAddress, DateTime scheduledTime, T message, CancellationToken cancellationToken = default)

Send a message

Task<ScheduledMessage<T>> ScheduleSend<T>(Uri destinationAddress, DateTime scheduledTime, T message, IPipe<SendContext<T>> pipe, CancellationToken cancellationToken = default)

Send a message

Task<ScheduledMessage<T>> ScheduleSend<T>(Uri destinationAddress, DateTime scheduledTime, T message, IPipe<SendContext> pipe, CancellationToken cancellationToken = default)

Send a message

Task<ScheduledMessage> ScheduleSend(Uri destinationAddress, DateTime scheduledTime, object message, CancellationToken cancellationToken = default)

Sends an object as a message, using the type of the message instance.

Task<ScheduledMessage> ScheduleSend(Uri destinationAddress, DateTime scheduledTime, object message, Type messageType, CancellationToken cancellationToken = default)

Sends an object as a message, using the message type specified. If the object cannot be cast to the specified message type, an exception will be thrown.

Task<ScheduledMessage> ScheduleSend(Uri destinationAddress, DateTime scheduledTime, object message, IPipe<SendContext> pipe, CancellationToken cancellationToken = default)

Sends an object as a message, using the message type specified. If the object cannot be cast to the specified message type, an exception will be thrown.

Task<ScheduledMessage> ScheduleSend(Uri destinationAddress, DateTime scheduledTime, object message, Type messageType, IPipe<SendContext> pipe, CancellationToken cancellationToken = default)

Sends an object as a message, using the message type specified. If the object cannot be cast to the specified message type, an exception will be thrown.

Task<ScheduledMessage<T>> ScheduleSend<T>(Uri destinationAddress, DateTime scheduledTime, object values, CancellationToken cancellationToken = default)

Sends an interface message, initializing the properties of the interface using the anonymous object specified

Task<ScheduledMessage<T>> ScheduleSend<T>(Uri destinationAddress, DateTime scheduledTime, object values, IPipe<SendContext<T>> pipe, CancellationToken cancellationToken = default)

Sends an interface message, initializing the properties of the interface using the anonymous object specified

Task<ScheduledMessage<T>> ScheduleSend<T>(Uri destinationAddress, DateTime scheduledTime, object values, IPipe<SendContext> pipe, CancellationToken cancellationToken = default)

Sends an interface message, initializing the properties of the interface using the anonymous object specified