compileGraphExec

fun <V, R> compileGraphExec(graphExecutionContext: GraphExecutionContext, block: GraphExecContextDsl.(executionContext: GraphExecutionContext) -> R): GraphExecutionResult<R>(source)

Creates a graph execution context and executes the given block within it. Similar to the network context pattern but for graph execution.

Usage: val result:GraphExecutionResult = graphExec { a + b }