JvmSerializableLambda

@Target(allowedTargets = [AnnotationTarget.EXPRESSION])
expect annotation class JvmSerializableLambda(source)

Makes the annotated lambda function implement java.io.Serializable, generates a pretty toString implementation and adds reflection metadata.

Since Kotlin

1.8
@Target(allowedTargets = [AnnotationTarget.EXPRESSION])
actual annotation class JvmSerializableLambda(source)

Makes the annotated lambda function implement java.io.Serializable, generates a pretty toString implementation and adds reflection metadata.

Since Kotlin

1.8