Class: Temporalio::Client::Schedule::List::Info
- Inherits:
-
Object
- Object
- Temporalio::Client::Schedule::List::Info
- Defined in:
- lib/temporalio/client/schedule.rb
Overview
Information about a listed schedule.
Instance Attribute Summary collapse
-
#next_action_times ⇒ Array<Time>
Next scheduled action times.
-
#recent_actions ⇒ Array<ActionResult>
Most recent actions, oldest first.
Instance Attribute Details
#next_action_times ⇒ Array<Time>
Returns Next scheduled action times. This may be a smaller amount than present on Info.next_action_times.
953 954 955 956 957 958 959 960 961 962 963 |
# File 'lib/temporalio/client/schedule.rb', line 953 class Info # @!visibility private def initialize(raw_info:) # steep:ignore:start super( recent_actions: raw_info.recent_actions.map { |a| ActionResult.new(raw_result: a) }, next_action_times: raw_info.future_action_times.map { |t| Internal::ProtoUtils.(t) } ) # steep:ignore:end end end |
#recent_actions ⇒ Array<ActionResult>
Returns Most recent actions, oldest first. This may be a smaller amount than present on Info.recent_actions.
953 954 955 956 957 958 959 960 961 962 963 |
# File 'lib/temporalio/client/schedule.rb', line 953 class Info # @!visibility private def initialize(raw_info:) # steep:ignore:start super( recent_actions: raw_info.recent_actions.map { |a| ActionResult.new(raw_result: a) }, next_action_times: raw_info.future_action_times.map { |t| Internal::ProtoUtils.(t) } ) # steep:ignore:end end end |