Workflow Engine .NET

Assembly: OptimaJet.Workflow.RealTimeTrackingPlugin

Class WorkflowEngineHub

OptimaJet.Workflow.RealTimeTrackingPlugin.Hubs.WorkflowEngineHub

SignalR hub.

public class WorkflowEngineHub : Hub, IDisposable

Inheritance

  • 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
notifierService
NotifierService
The 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
exception
Exception
The exception, if any that caused the disconnection.

Returns

Type
Description
Task
public Task JoinTracking(string processId) #
A hub method for adding a client to tracking.

Parameters

Name
Type
Description
processId
String
ProcessId of the ProcessInstance.

Returns

Type
Description
Task