2 writes to ApplicationTask
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionContext.cs (2)
421
ApplicationTask
??= ExecuteApplication(connectionDelegate);
460
ApplicationTask
= ExecuteApplication(connectionDelegate);
7 references to ApplicationTask
Microsoft.AspNetCore.Http.Connections (7)
Internal\HttpConnectionContext.cs (2)
266
var applicationTask =
ApplicationTask
?? Task.CompletedTask;
456
if (
ApplicationTask
== null)
Internal\HttpConnectionDispatcher.cs (5)
218
var isReconnect = connection.
ApplicationTask
is not null;
256
var resultTask = await Task.WhenAny(connection.
ApplicationTask
!, connection.TransportTask!);
261
if (resultTask == connection.
ApplicationTask
)
264
connection.Transport.Output.Complete(connection.
ApplicationTask
.Exception);
331
await Task.WhenAny(connection.
ApplicationTask
!, connection.TransportTask!);