withOutput

fun <Output : Any> withOutput(outputClass: ERROR CLASS: Symbol not found for Class<Output>): SubtaskBuilderWithInputAndOutput<Input, Output>(source)

Specifies the output type for a subtask to be built.

Return

A new instance of SubtaskBuilderWithInputAndOutput configured with the specified input and output types.

Parameters

outputClass

The class representing the type of the output for the subtask.