callRecursive
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
abstract suspend fun callRecursive(value: T): R
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.
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
abstract suspend fun <U, S> DeepRecursiveFunction<U, S>.callRecursive( value: U ): S
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.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-deep-recursive-scope/call-recursive.html