function

inline fun <P> function(crossinline function: (P) -> Any)

Provide a Kotlin function as a direct delegate for org.springframework.integration.splitter.MethodInvokingSplitter.

Parameters

function

the function instance to use.

the input type.