Searched refs:shutdownTcs (Results 1 – 1 of 1) sorted by relevance
51 readonly TaskCompletionSource<object> shutdownTcs = new TaskCompletionSource<object>(); field in Grpc.Core.Server117 return shutdownTcs.Task;240 … var task = await Task.WhenAny(shutdownTcs.Task, Task.Delay(20)).ConfigureAwait(false); in ShutdownCompleteOrEnvironmentDeadAsync()241 if (shutdownTcs.Task == task) in ShutdownCompleteOrEnvironmentDeadAsync()393 shutdownTcs.SetResult(null); in HandleServerShutdown()