Docket.Runtime.Graph.Node (docket v0.1.0-dev)

Copy Markdown View Source

Internal runtime node definition.

id is the namespaced runtime ID (node:<public_id>); public_id is what node callbacks receive in their runtime context. subscribe lists runtime channel IDs that activate this node; outgoing_edges lists public edge IDs evaluated after this node completes.

Summary

Types

t()

@type t() :: %Docket.Runtime.Graph.Node{
  config: map(),
  function: atom(),
  id: String.t(),
  metadata: map(),
  module: module(),
  outgoing_edges: [String.t()],
  policies: map(),
  public_id: String.t(),
  subscribe: [String.t()]
}