Beispiel #1
0
        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);
        }
Beispiel #2
0
        public Task <PublishInfo> PublishAsync(IQuidjiboCommand command, int delay, CancellationToken cancellationToken = default(CancellationToken))
        {
            var queueName = command.GetQueueName();

            return(PublishAsync(command, queueName, delay, cancellationToken));
        }