tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Extensions
TaskExtensions.cs
Go to the documentation of this file.
1
using
System.Threading.Tasks;
2
3
namespace
Tgstation.Server.Host.Extensions
4
{
8
static
class
TaskExtensions
9
{
13
static
readonly TaskCompletionSource
InfiniteTaskCompletionSource
=
new
();
14
18
public
static
Task
InfiniteTask
=>
InfiniteTaskCompletionSource
.Task;
19
}
20
}
Tgstation.Server.Host.Extensions.TaskExtensions
Extensions for the Task and Task<TResult> classes.
Definition
TaskExtensions.cs:9
Tgstation.Server.Host.Extensions.TaskExtensions.InfiniteTask
static Task InfiniteTask
Gets a Task that never completes.
Definition
TaskExtensions.cs:18
Tgstation.Server.Host.Extensions.TaskExtensions.InfiniteTaskCompletionSource
static readonly TaskCompletionSource InfiniteTaskCompletionSource
A TaskCompletionSource that never completes.
Definition
TaskExtensions.cs:13
Tgstation.Server.Host.Extensions
Definition
ApplicationBuilderExtensions.cs:22
Generated by
1.9.8