passData

fun passData(data: List<Any?>)(source)
fun passData(vararg data: Any?)(source)

Sets the data passed to the persistent handler's function.

The data passed is transformed with toString, except snowflakes which get their IDs stored.

The data can only be reconstructed if a ComponentParameterResolver exists for the handler's parameter type.

Remember the parameters need to be annotated with @ComponentData.