tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host.Watchdog
NoopSignalChecker.cs
Go to the documentation of this file.
1
using
System;
2
using
System.Threading;
3
using
System.Threading.Tasks;
4
5
namespace
Tgstation.Server.Host.Watchdog
6
{
10
public
sealed
class
NoopSignalChecker
:
ISignalChecker
11
{
13
public
ValueTask
CheckSignals
(Func<
string
?, (
int
, Task)> startChildAndGetPid, CancellationToken cancellationToken)
14
{
15
ArgumentNullException.ThrowIfNull(startChildAndGetPid);
16
startChildAndGetPid(
null
);
17
return
ValueTask.CompletedTask;
18
}
19
}
20
}
Tgstation.Server.Host.Watchdog.NoopSignalChecker
No-op ISignalChecker.
Definition
NoopSignalChecker.cs:11
Tgstation.Server.Host.Watchdog.NoopSignalChecker.CheckSignals
ValueTask CheckSignals(Func< string?,(int, Task)> startChildAndGetPid, CancellationToken cancellationToken)
Definition
NoopSignalChecker.cs:13
Tgstation.Server.Host.Watchdog.ISignalChecker
For relaying signals received to the host process.
Definition
ISignalChecker.cs:11
Tgstation.Server.Host.Watchdog
Definition
BootstrapSettings.cs:7
Generated by
1.9.8