예제 #1
0
 public Task ProduceAsync(string key, Envelope <T> envelope,
                          CancellationToken ct = default)
 {
     return(scheduling.ScheduleAsync(key, envelope, default(Instant), false, ct));
 }
예제 #2
0
 public Task ScheduleAsync(string key, T job, Instant dueTime, bool canInline,
                           CancellationToken ct = default)
 {
     return(scheduling.ScheduleAsync(key, job, dueTime, canInline, ct));
 }