public async Task Nothing() { var body = new DoNothingMessage { StartAt = DateTimeOffset.UtcNow.AddSeconds(1) }; await _sqsClient.SendDoNothingMessageAsync(body); }
public IActionResult DoNothing(DoNothingMessage model) { _logger.LogDebug("Received order to do nothing starting at {StartAt}", model.StartAt); return(Ok()); }
public Task SendDoNothingMessageAsync(DoNothingMessage body) { return(SendMessagesAsync(WorkerConstants.DoNothingTaskName, body)); }