Jido.Agent.Directive.Schedule (Jido v2.0.0-rc.1)

View Source

Schedule a delayed message to the agent.

The runtime will send the message back to the agent after the delay.

Fields

  • delay_ms - Delay in milliseconds (must be >= 0)
  • message - Message to send after delay

Summary

Functions

Returns the Zoi schema for Schedule.

Types

t()

@type t() :: %Jido.Agent.Directive.Schedule{delay_ms: integer(), message: any()}

Functions

schema()

@spec schema() :: Zoi.schema()

Returns the Zoi schema for Schedule.