tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IJobsHub.cs
Go to the documentation of this file.
1using System.Threading;
2using System.Threading.Tasks;
3
5
7{
11 public interface IJobsHub
12 {
19 Task ReceiveJobUpdate(JobResponse job, CancellationToken cancellationToken);
20 }
21}
Represents a long running job on the server. Model is read-only, updates attempt to cancel the job.
Definition JobResponse.cs:7
SignalR client methods for receiving JobResponses.
Definition IJobsHub.cs:12
Task ReceiveJobUpdate(JobResponse job, CancellationToken cancellationToken)
Push a job update to the client.