IoSourceBackpressureStrategy
public enum IoSourceBackpressureStrategy : Int, Codable
Defines strategies for coping with IO sources that produce IO values more rapidly than specified in their currently recommended update rate.
-
Publish all values immediately. Note that this strategy ignores the recommended update rate assigned to the IO source.
Declaration
Swift
case None
-
Publish the most recent values within periodic time intervals according to the recommended update rate assigned to the IO source. If no update rate is given, fall back to the
None
strategy.Declaration
Swift
case Sample
-
Only publish a value if a particular timespan has passed without it publishing another value. The timespan is determined by the recommended update rate assigned to the IO source. If no update rate is given, fall back to the
None
strategy.Declaration
Swift
case Throttle