tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Swarm
ISwarmServiceController.cs
Go to the documentation of this file.
1
using
System.Threading;
2
using
System.Threading.Tasks;
3
4
namespace
Tgstation.Server.Host.Swarm
5
{
9
interface
ISwarmServiceController
10
{
16
ValueTask<SwarmRegistrationResult>
Initialize
(CancellationToken cancellationToken);
17
23
ValueTask
Shutdown
(CancellationToken cancellationToken);
24
}
25
}
Tgstation.Server.Host.Swarm.ISwarmServiceController
Start and stop controllers for a swarm service.
Definition
ISwarmServiceController.cs:10
Tgstation.Server.Host.Swarm.ISwarmServiceController.Shutdown
ValueTask Shutdown(CancellationToken cancellationToken)
Deregister with the swarm controller or put clients into querying state.
Tgstation.Server.Host.Swarm.ISwarmServiceController.Initialize
ValueTask< SwarmRegistrationResult > Initialize(CancellationToken cancellationToken)
Attempt to register with the swarm controller if not one, sets up the database otherwise.
Tgstation.Server.Host.Swarm
Definition
ISwarmOperations.cs:9
Generated by
1.9.8