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 send.ex
Raw

lib/beam_weaver/graph/send.ex

defmodule BeamWeaver.Graph.Send do
@moduledoc """
Dynamic fan-out instruction.
A node can return `%Send{}` values to schedule additional nodes with a state
update applied before that node runs.
"""
defstruct [:node, update: %{}, timeout: nil]
@type t :: %__MODULE__{
node: atom() | String.t(),
update: term(),
timeout: timeout()
}
end