src/Microsoft.Azure.WebJobs.Host/Timers/NullRecurrentCommand.cs (13 lines of code) (raw):
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Azure.WebJobs.Host.Timers
{
internal class NullRecurrentCommand : IRecurrentCommand
{
public Task<bool> TryExecuteAsync(CancellationToken cancellationToken)
{
return Task.FromResult(true);
}
}
}