callRecursive

Common
JVM
JS
Native
1.0
abstract suspend fun callRecursive(value: T): R
(source)

Makes recursive call to this DeepRecursiveFunction function putting the call activation frame on the heap, as opposed to the actual call stack that is used by a regular recursive call.

Common
JVM
JS
Native
1.0
abstract suspend fun <U, S> DeepRecursiveFunction<U, S>.callRecursive(
    value: U
): S

(source)

Makes call to the specified DeepRecursiveFunction function putting the call activation frame on the heap, as opposed to the actual call stack that is used by a regular call.