fca978de07
Sweep of 203 source files resolving CommentChecker findings: add <summary>/<param>/<returns>/<inheritdoc> where missing, and remove resolved task/issue tracking markers (Tests-NNN, Worker-NNN, Server-NNN, Task N) from code comments. Comment/doc-only — no logic changes. Server+Tests build clean under TreatWarningsAsErrors.
18 lines
711 B
C#
18 lines
711 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using ZB.MOM.WW.MxGateway.Worker.Bootstrap;
|
|
|
|
namespace ZB.MOM.WW.MxGateway.Worker.Ipc;
|
|
|
|
/// <summary>Manages the worker's named pipe connection to the gateway.</summary>
|
|
public interface IWorkerPipeClient
|
|
{
|
|
/// <summary>Connects to the gateway and runs the worker until the session ends or is cancelled.</summary>
|
|
/// <param name="options">Configuration options.</param>
|
|
/// <param name="cancellationToken">Token to cancel the asynchronous operation.</param>
|
|
/// <returns>A task that represents the asynchronous operation.</returns>
|
|
Task RunAsync(
|
|
WorkerOptions options,
|
|
CancellationToken cancellationToken = default);
|
|
}
|