Created
September 17, 2019 19:31
-
-
Save jesspanni/4e74674c589c9b303925f5048a970aaa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[FunctionName(nameof(Function1.LongRunningOperation))] | |
public Task LongRunningOperation([ActivityTrigger]int secondsToWait, ILogger log) | |
{ | |
log.LogInformation($"Doing something really interesting for {secondsToWait} seconds"); | |
return Task.Delay(TimeSpan.FromSeconds(secondsToWait)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment