 | TemporalClientActivityHeartbeatByIdAsync Method |
Used to record an activity heartbeat externally by
WorkflowExecution and activity ID.
Namespace:
Neon.Temporal
Assembly:
Neon.Temporal (in Neon.Temporal.dll) Version: 2.10.0-alpha
Syntaxpublic Task ActivityHeartbeatByIdAsync(
WorkflowExecution execution,
string activityId,
Object details = null,
string namespace = null
)
Public Function ActivityHeartbeatByIdAsync (
execution As WorkflowExecution,
activityId As String,
Optional details As Object = Nothing,
Optional namespace As String = Nothing
) As Task
public:
Task^ ActivityHeartbeatByIdAsync(
WorkflowExecution^ execution,
String^ activityId,
Object^ details = nullptr,
String^ namespace = nullptr
)
member ActivityHeartbeatByIdAsync :
execution : WorkflowExecution *
activityId : string *
?details : Object *
?namespace : string
(* Defaults:
let _details = defaultArg details null
let _namespace = defaultArg namespace null
*)
-> Task
Parameters
- execution
- Type: Neon.TemporalWorkflowExecution
The workflow execution. - activityId
- Type: SystemString
The activity ID. - details (Optional)
- Type: SystemObject
Optional heartbeart details. - namespace (Optional)
- Type: SystemString
Optionally overrides the default TemporalClient namespace.
Return Value
Type:
TaskThe tracking
Task.
See Also