Compilable represents a Graph or Workflow that can be compiled into a Runnable. Both compose.Graph and compose.Workflow implement this interface.
| 51 | // Compilable represents a Graph or Workflow that can be compiled into a Runnable. |
| 52 | // Both compose.Graph and compose.Workflow implement this interface. |
| 53 | type Compilable[I, O any] interface { |
| 54 | Compile(ctx context.Context, opts ...compose.GraphCompileOption) (compose.Runnable[I, O], error) |
| 55 | } |
| 56 | |
| 57 | // NodeConfig contains configuration for creating a BatchNode. |
| 58 | type NodeConfig[I, O any] struct { |
no outgoing calls
no test coverage detected