selectBy

suspend fun selectBy(predicate: suspend (Output) -> Boolean): ParallelNodeExecutionResult<Output>(source)

Selects a result based on a predicate.

Return

The NodeExecutionResult with the selected output and context

Parameters

predicate

The predicate to use for selection

Throws

if no result matches the predicate