Class: Temporalio::Workflow::ExternalWorkflowHandle
- Inherits:
-
Object
- Object
- Temporalio::Workflow::ExternalWorkflowHandle
- Defined in:
- lib/temporalio/workflow/external_workflow_handle.rb
Overview
Handle for interacting with an external workflow.
This is created via external_workflow_handle, it is never instantiated directly.
Direct Known Subclasses
Instance Method Summary collapse
-
#cancel ⇒ Object
Cancel the external workflow.
-
#id ⇒ String
ID for the workflow.
-
#run_id ⇒ String?
Run ID for the workflow.
-
#signal(signal, *args, cancellation: Workflow.cancellation) ⇒ Object
Signal the external workflow.
Instance Method Details
#cancel ⇒ Object
Cancel the external workflow.
36 37 38 |
# File 'lib/temporalio/workflow/external_workflow_handle.rb', line 36 def cancel raise NotImplementedError end |
#id ⇒ String
Returns ID for the workflow.
17 18 19 |
# File 'lib/temporalio/workflow/external_workflow_handle.rb', line 17 def id raise NotImplementedError end |
#run_id ⇒ String?
Returns Run ID for the workflow.
22 23 24 |
# File 'lib/temporalio/workflow/external_workflow_handle.rb', line 22 def run_id raise NotImplementedError end |
#signal(signal, *args, cancellation: Workflow.cancellation) ⇒ Object
Signal the external workflow.
31 32 33 |
# File 'lib/temporalio/workflow/external_workflow_handle.rb', line 31 def signal(signal, *args, cancellation: Workflow.cancellation) raise NotImplementedError end |