package producer

  1. Overview
  2. Docs

Encapsulated graph of producer nodes.

type (!'context, !'output) t = ('context, 'output) Make(Sync).Graph.t = {
  1. execute : 'context0 -> 'output0 Sync.t;
}
val make : ('context, 'output) Node.t -> ('context, 'output) t

make nodes output_node creates a Graph.t out of the given nodes, marking output_node as the Node which produces the graph's output.

  • raises [Cyclic]

    if a dependency cycle is found somewhere within the graph.

OCaml

Innovation. Community. Security.