emitParallelToolCalls

Executes a parallelized tool call using the provided data flow and tool function within the session.

Return

A Flow of results wrapped as SafeToolFromCallable.Result containing the output of the tool calls.

Parameters

flow

A Flow of input data arguments of type DataArgs to be processed.

foolFunction

A KFunction representing the tool to invoke for processing inputs.

concurrency

The maximum number of concurrent executions allowed for the tool calls. Defaults to 16.