Packages

Elixir-native LangChain, LangGraph, and DeepAgents for traceable LLM apps: OTP workflows, tools, memory, human-in-the-loop, streaming, custom clients/adapters, minimal deps, and WeaveScope tracing.

Current section

Files

Jump to
beam_weaver lib beam_weaver graph execution executable_task.ex
Raw

lib/beam_weaver/graph/execution/executable_task.ex

defmodule BeamWeaver.Graph.Execution.ExecutableTask do
@moduledoc """
Runtime wrapper for a prepared graph execution task running in a BEAM `Task`.
"""
alias BeamWeaver.Graph.Execution.Task, as: ExecutionTask
defstruct [
:id,
:node,
:path,
:step,
:timeout,
:started_at,
:task,
:prepared
]
@type t :: %__MODULE__{
id: String.t(),
node: String.t(),
path: String.t(),
step: non_neg_integer(),
timeout: timeout(),
started_at: integer(),
task: Task.t(),
prepared: ExecutionTask.t()
}
end