struct Suppression
extension Suppression : Equatable, Hashable, Identifiable, Node, Sendable
A Node that will terminates execution of all the following nodes if the automation is triggered again within the specified time range.
-
The stable identity of the entity associated with this instance.
Declaration
Swift
let id: String
-
The length of the suppression. This may be as short as five seconds or as long as 24 hours.
Declaration
Swift
let duration: Duration
-
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
a
andb
,a == b
implies thata != b
isfalse
.Declaration
Swift
static func == (lhs: Suppression, rhs: Suppression) -> Bool
Parameters
lhs
A value to compare.
rhs
Another value to compare.
-
Returns true if the nodes are equal, false otherwise.
Declaration
Swift
func isEqual(to other: any Node) -> Bool