Class: Legion::Extensions::Agentic::Homeostasis::Temporal::Client
- Inherits:
-
Object
- Object
- Legion::Extensions::Agentic::Homeostasis::Temporal::Client
- Includes:
- Runners::Temporal
- Defined in:
- lib/legion/extensions/agentic/homeostasis/temporal/client.rb
Instance Attribute Summary collapse
-
#temporal_store ⇒ Object
readonly
Returns the value of attribute temporal_store.
Instance Method Summary collapse
-
#initialize(temporal_store: nil) ⇒ Client
constructor
A new instance of Client.
Methods included from Runners::Temporal
#check_deadlines, #elapsed_since, #mark_event, #predict_event, #set_deadline, #temporal_patterns, #temporal_stats, #update_time_perception
Constructor Details
#initialize(temporal_store: nil) ⇒ Client
Returns a new instance of Client.
13 14 15 |
# File 'lib/legion/extensions/agentic/homeostasis/temporal/client.rb', line 13 def initialize(temporal_store: nil, **) @temporal_store = temporal_store || Helpers::TemporalStore.new end |
Instance Attribute Details
#temporal_store ⇒ Object (readonly)
Returns the value of attribute temporal_store.
11 12 13 |
# File 'lib/legion/extensions/agentic/homeostasis/temporal/client.rb', line 11 def temporal_store @temporal_store end |