Class WorkflowEngineHub
OptimaJet.Workflow.RealTimeTrackingPlugin.Hubs.WorkflowEngineHub
SignalR hub.
Namespace: OptimaJet.Workflow.RealTimeTrackingPlugin.Hubs
public class WorkflowEngineHub : Hub, IDisposableInheritance
- System.Object
- Microsoft.AspNetCore.SignalR.Hub
Implemented Interfaces
- System.IDisposable
Constructors
public WorkflowEngineHub(NotifierService notifierService) #Initializes a new instance of the WorkflowEngineHub class.
Parameters
Name
Type
Description
notifierServiceNotifierServiceThe service used to send notifications.
Methods
public override Task OnDisconnectedAsync(Exception? exception) #Event that is triggered when a client disconnects from the hub.
Parameters
Name
Type
Description
exceptionExceptionThe exception, if any that caused the disconnection.
Returns
Type
Description
Taskpublic Task JoinTracking(string processId) #A hub method for adding a client to tracking.
Parameters
Name
Type
Description
processIdStringProcessId of the ProcessInstance.
Returns
Type
Description
Task