public async Task ScheduleAsync(string name, IQuidjiboCommand command, Cron cron, CancellationToken cancellationToken = default(CancellationToken)) { var queueName = command.GetQueueName(); await ScheduleAsync(name, queueName, command, cron, cancellationToken); }
public Task <PublishInfo> PublishAsync(IQuidjiboCommand command, int delay, CancellationToken cancellationToken = default(CancellationToken)) { var queueName = command.GetQueueName(); return(PublishAsync(command, queueName, delay, cancellationToken)); }