2using System.Threading.Tasks;
16 Task<SwarmRegistrationResult>
Initialize(CancellationToken cancellationToken);
23 Task
Shutdown(CancellationToken cancellationToken);
Start and stop controllers for a swarm service.
Task< SwarmRegistrationResult > Initialize(CancellationToken cancellationToken)
Attempt to register with the swarm controller if not one, sets up the database otherwise.
Task Shutdown(CancellationToken cancellationToken)
Deregister with the swarm controller or put clients into querying state.