withParams

fun withParams(value: Any?, params: Map<String, Any?>): SignalData<Any?>

Creates a SignalData object with parameters, which can be emitted later.

Return

A SignalData object containing the value and parameters.

Parameters

value

The value to wrap.

params

The parameters to associate with the value.