distinct
Ignores duplicate values and thus only publishes when the value has changed.
By default, the comparison between the previous and current value is not strict ==. You can set strict to true to use strict === comparison
Ignores duplicate values and thus only publishes when the value has changed.
The comparison between the previous and current value is NOT strict, using ==.