ComposableLambda

class ComposableLambda<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, R>(key: Int, tracked: Boolean, sourceInformation: String?) : Function2<Composer<*>, Int, R> , Function3<P1, Composer<*>, Int, R> , Function4<P1, P2, Composer<*>, Int, R> , Function5<P1, P2, P3, Composer<*>, Int, R> , Function6<P1, P2, P3, P4, Composer<*>, Int, R> , Function7<P1, P2, P3, P4, P5, Composer<*>, Int, R> , Function8<P1, P2, P3, P4, P5, P6, Composer<*>, Int, R> , Function9<P1, P2, P3, P4, P5, P6, P7, Composer<*>, Int, R> , Function10<P1, P2, P3, P4, P5, P6, P7, P8, Composer<*>, Int, R> , Function11<P1, P2, P3, P4, P5, P6, P7, P8, P9, Composer<*>, Int, R> , Function13<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, Composer<*>, Int, Int, R> , Function14<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, Composer<*>, Int, Int, R> , Function15<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, Composer<*>, Int, Int, R> , Function16<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, Composer<*>, Int, Int, R> , Function17<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, Composer<*>, Int, Int, R> , Function18<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, Composer<*>, Int, Int, R> , Function19<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, Composer<*>, Int, Int, R> , Function20<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, Composer<*>, Int, Int, R> , Function21<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, Composer<*>, Int, Int, R>

A Restart is created to hold composable lambdas to track when they are invoked allowing the invocations to be invalidated when a new composable lambda is created during composition.

This allows much of the call-graph to be skipped when a composable function is passed through multiple levels of composable functions.

Constructors

ComposableLambda
Link copied to clipboard
common
fun ComposableLambda(key: Int, tracked: Boolean, sourceInformation: String?)

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
invoke
Link copied to clipboard
common
open operator override fun invoke(c: Composer<*>, changed: Int): R
open operator override fun invoke(p1: P1, c: Composer<*>, changed: Int): R
open operator override fun invoke(p1: P1, p2: P2, c: Composer<*>, changed: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, c: Composer<*>, changed: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, c: Composer<*>, changed: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, c: Composer<*>, changed: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, c: Composer<*>, changed: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, c: Composer<*>, changed: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, c: Composer<*>, changed: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, c: Composer<*>, changed: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, c: Composer<*>, changed: Int, changed1: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, c: Composer<*>, changed: Int, changed1: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, c: Composer<*>, changed: Int, changed1: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, c: Composer<*>, changed: Int, changed1: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, c: Composer<*>, changed: Int, changed1: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, c: Composer<*>, changed: Int, changed1: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, c: Composer<*>, changed: Int, changed1: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17, c: Composer<*>, changed: Int, changed1: Int): R
open operator override fun invoke(p1: P1, p2: P2, p3: P3, p4: P4, p5: P5, p6: P6, p7: P7, p8: P8, p9: P9, p10: P10, p11: P11, p12: P12, p13: P13, p14: P14, p15: P15, p16: P16, p17: P17, p18: P18, c: Composer<*>, changed: Int, changed1: Int): R
toString
Link copied to clipboard
common
open fun toString(): String
update
Link copied to clipboard
common
fun update(block: Any)

Properties

key
Link copied to clipboard
common
val key: Int