tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IServerUpdateInitiator.cs
Go to the documentation of this file.
1using System;
2using System.Threading;
3using System.Threading.Tasks;
4
6
8{
12 public interface IServerUpdateInitiator
13 {
21 ValueTask<ServerUpdateResult> InitiateUpdate(IFileStreamProvider? fileStreamProvider, Version version, CancellationToken cancellationToken);
22 }
23}
ValueTask< ServerUpdateResult > InitiateUpdate(IFileStreamProvider? fileStreamProvider, Version version, CancellationToken cancellationToken)
Start the process of downloading and applying an update to a new server version .
Interface for asynchronously consuming Streams of files.