1 write to _executeTask
Microsoft.Extensions.Hosting.Abstractions (1)
BackgroundService.cs (1)
46
_executeTask
= Task.Run(() => ExecuteAsync(_stoppingCts.Token), _stoppingCts.Token);
3 references to _executeTask
Microsoft.Extensions.Hosting.Abstractions (3)
BackgroundService.cs (3)
24
public virtual Task? ExecuteTask =>
_executeTask
;
60
if (
_executeTask
== null)
73
await
_executeTask
.WaitAsync(cancellationToken).ConfigureAwait(ConfigureAwaitOptions.SuppressThrowing);