Created
June 10, 2022 07:47
-
-
Save GrillPhil/f4ef310e8777e14ddf3b151829f9400e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
app.MapGet("/background", ( | |
PeriodicHostedService service) => | |
{ | |
return new PeriodicHostedServiceState(service.IsEnabled); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment