Get the discovery service instance (for activities)
Get the client service instance
Get the discovery service instance
Get the metadata accessor instance
Get the schedule service instance
Get the worker service instance
Execute an activity
Get activity by name
Get activity names
Get all activities
Get all workers information (for multiple workers setup)
Get comprehensive health status
Get overall health status (async version for compatibility)
Get service statistics
Get a specific worker by task queue (for multiple workers setup)
Get worker health status
Get the worker manager service (provides access to getConnection())
Get worker status
Get worker status for a specific task queue (for multiple workers setup)
Get workflow handle
OptionalrunId: stringCheck if activity exists
Check if worker is available
Check if a class is an activity
Check if a method is an activity method
Check if worker is running
Cleanup on module destroy
Initialize the unified service
Query a workflow
Optionalargs: unknown[]Register and create a new worker dynamically at runtime
Atomically start a workflow and send a signal to it. If the workflow is already running, only the signal is delivered.
Returns a structured WorkflowSignalResult (unlike the lower-level
TemporalClientService.signalWithStart, which returns the raw handle).
Optionaloptions: WorkflowStartOptionsconst result = await temporalService.signalWithStart(
'cartWorkflow',
'addItem',
[{ sku: 'SKU-123', qty: 2 }],
[userId],
{ workflowId: `cart-${userId}`, taskQueue: 'carts' },
);
if (result.success) {
this.logger.log(`Signal '${result.signalName}' delivered to ${result.workflowId}`);
}
Signal a workflow
Optionalargs: unknown[]Start the worker
Start a specific worker by task queue (for multiple workers setup)
Start a workflow execution
Optionalargs: unknown[]Optionaloptions: WorkflowStartOptionsStop the worker
Stop a specific worker by task queue (for multiple workers setup)
Terminate a workflow
Optionalreason: string
Main unified service for Temporal operations Provides a single interface to access all Temporal functionality