Class: Temporalio::Workflow::ChildWorkflowHandle
- Inherits:
-
Object
- Object
- Temporalio::Workflow::ChildWorkflowHandle
- Defined in:
- lib/temporalio/workflow/child_workflow_handle.rb
Overview
Handle for interacting with a child workflow.
This is created via start_child_workflow, it is never instantiated directly.
Direct Known Subclasses
Instance Method Summary collapse
-
#first_execution_run_id ⇒ String
Run ID for the workflow.
-
#id ⇒ String
ID for the workflow.
-
#result ⇒ Object
Wait for the result.
-
#signal(signal, *args, cancellation: Workflow.cancellation) ⇒ Object
Signal the child workflow.
Instance Method Details
#first_execution_run_id ⇒ String
Returns Run ID for the workflow.
20 21 22 |
# File 'lib/temporalio/workflow/child_workflow_handle.rb', line 20 def first_execution_run_id raise NotImplementedError end |
#id ⇒ String
Returns ID for the workflow.
15 16 17 |
# File 'lib/temporalio/workflow/child_workflow_handle.rb', line 15 def id raise NotImplementedError end |
#result ⇒ Object
Wait for the result.
29 30 31 |
# File 'lib/temporalio/workflow/child_workflow_handle.rb', line 29 def result raise NotImplementedError end |
#signal(signal, *args, cancellation: Workflow.cancellation) ⇒ Object
Signal the child workflow.
38 39 40 |
# File 'lib/temporalio/workflow/child_workflow_handle.rb', line 38 def signal(signal, *args, cancellation: Workflow.cancellation) raise NotImplementedError end |