Jido.Agent.Directive.Enqueue (Jido v1.1.0-rc.2)
View SourceDirective to enqueue a new instruction
Summary
Functions
Creates a new Enqueue directive from an Instruction struct.
Types
Functions
@spec new(Jido.Instruction.t()) :: t()
Creates a new Enqueue directive from an Instruction struct.
Parameters
instruction
- %Instruction{} struct to convert to directive
Returns
%Enqueue{}
- New enqueue directive with instruction fields