Replies: 1 comment
-
Because the executing task represents the lifetime of the task, not the lifetime of starting the task. The Start task represents the lifetime of the start operation, not the entire background service |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
between line 39 - 45,
why if (_executingTask.IsCompleted), it return _executingTask instead of Task.CompletedTask?
to me looks correct behaviour should be as below:
if(_executingTask.IsCompleted)
{
return Task.CompletedTask;
}
return _executingTask;
Beta Was this translation helpful? Give feedback.
All reactions