A2aEngine.Types.TaskStatus (a2a_engine v0.1.0)

Copy Markdown View Source

The current status of a task: state (required) + optional message + timestamp.

Timestamp is ISO 8601. Message (if present) is an A2A Message.

Summary

Types

t()

@type t() :: %A2aEngine.Types.TaskStatus{
  message: A2aEngine.Types.Message.t() | nil,
  state: A2aEngine.LifecycleState.t(),
  timestamp: String.t() | nil
}

Functions

from_map(m)

@spec from_map(map()) :: {:ok, t()} | {:error, term()}

to_map(s)

@spec to_map(t()) :: map()