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(result_hint: nil) ⇒ Object
Wait for the result.
-
#result_hint ⇒ Object?
Hint for the result if any.
-
#signal(signal, *args, cancellation: Workflow.cancellation, arg_hints: nil) ⇒ 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(result_hint: nil) ⇒ Object
Wait for the result.
35 36 37 |
# File 'lib/temporalio/workflow/child_workflow_handle.rb', line 35 def result(result_hint: nil) raise NotImplementedError end |
#result_hint ⇒ Object?
Returns Hint for the result if any.
25 26 27 |
# File 'lib/temporalio/workflow/child_workflow_handle.rb', line 25 def result_hint raise NotImplementedError end |
#signal(signal, *args, cancellation: Workflow.cancellation, arg_hints: nil) ⇒ Object
Signal the child workflow.
46 47 48 |
# File 'lib/temporalio/workflow/child_workflow_handle.rb', line 46 def signal(signal, *args, cancellation: Workflow.cancellation, arg_hints: nil) raise NotImplementedError end |