An onEmit callback that returns a random value from the current value array.
onEmit
The new value of the property.