2using System.Collections.Generic;
4using System.Threading.Tasks;
35 ValueTask<SwarmCommitResult>
CommitUpdate(CancellationToken cancellationToken);
IFileStreamProvider that provides MemoryStreams.
Used for swarm operations. Functions may be no-op based on configuration.
ValueTask< SwarmPrepareResult > PrepareUpdate(ISeekableFileStreamProvider fileStreamProvider, Version version, CancellationToken cancellationToken)
Signal to the swarm that an update is requested.
List< SwarmServerInformation >? GetSwarmServers()
Gets the list of SwarmServerInformations in the swarm, including the current one.
bool ExpectedNumberOfNodesConnected
Gets a value indicating if the expected amount of nodes are connected to the swarm.
ValueTask< SwarmCommitResult > CommitUpdate(CancellationToken cancellationToken)
Signal to the swarm that an update is ready to be applied.
Allows aborting a swarm distributed update operation.