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