Class: Temporalio::Client::Schedule::ActionResult
- Inherits:
-
Object
- Object
- Temporalio::Client::Schedule::ActionResult
- Defined in:
- lib/temporalio/client/schedule.rb
Overview
Information about when an action took place.
Instance Attribute Summary collapse
-
#action ⇒ ActionExecution
Action that took place.
-
#scheduled_at ⇒ Time
Scheduled time of the action including jitter.
-
#started_at ⇒ Time
When the action actually started.
Instance Attribute Details
#action ⇒ ActionExecution
Returns Action that took place.
420 421 422 423 424 425 426 427 428 429 430 431 |
# File 'lib/temporalio/client/schedule.rb', line 420 class ActionResult # @!visibility private def initialize(raw_result:) # steep:ignore:start super( scheduled_at: Internal::ProtoUtils.(raw_result.schedule_time), started_at: Internal::ProtoUtils.(raw_result.actual_time), action: ActionExecution::StartWorkflow.new(raw_execution: raw_result.start_workflow_result) ) # steep:ignore:end end end |
#scheduled_at ⇒ Time
Returns Scheduled time of the action including jitter.
420 421 422 423 424 425 426 427 428 429 430 431 |
# File 'lib/temporalio/client/schedule.rb', line 420 class ActionResult # @!visibility private def initialize(raw_result:) # steep:ignore:start super( scheduled_at: Internal::ProtoUtils.(raw_result.schedule_time), started_at: Internal::ProtoUtils.(raw_result.actual_time), action: ActionExecution::StartWorkflow.new(raw_execution: raw_result.start_workflow_result) ) # steep:ignore:end end end |
#started_at ⇒ Time
Returns When the action actually started.
420 421 422 423 424 425 426 427 428 429 430 431 |
# File 'lib/temporalio/client/schedule.rb', line 420 class ActionResult # @!visibility private def initialize(raw_result:) # steep:ignore:start super( scheduled_at: Internal::ProtoUtils.(raw_result.schedule_time), started_at: Internal::ProtoUtils.(raw_result.actual_time), action: ActionExecution::StartWorkflow.new(raw_execution: raw_result.start_workflow_result) ) # steep:ignore:end end end |