Jido.Agent.StateOp.SetPath (Jido v2.0.0-rc.1)
View SourceSet a value at a nested path in the agent's state.
Uses put_in/3 semantics. Path must be a list of atoms.
Example
%SetPath{path: [:config, :timeout], value: 5000}
# Sets agent.state.config.timeout = 5000
Summary
Types
Functions
@spec schema() :: Zoi.schema()
Returns the Zoi schema for SetPath.