Jido.Agent.StateOp.DeletePath (Jido v2.0.0-rc.1)
View SourceDelete a value at a nested path in the agent's state.
Uses pop_in/2 semantics. Path must be a list of atoms.
Example
%DeletePath{path: [:temp, :cache]}
# Removes agent.state.temp.cache
Summary
Types
@type t() :: %Jido.Agent.StateOp.DeletePath{path: [atom()]}
Functions
@spec schema() :: Zoi.schema()
Returns the Zoi schema for DeletePath.