struct Delay
extension Delay : Equatable, Hashable, Identifiable, Node, Sendable
A Node that will delay execution for a specified length of time.
-
The stable identity of the entity associated with this instance.
Declaration
Swift
let id: String
-
The length of the delay between actions, when run in a sequentialFlow.
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: Delay, rhs: Delay) -> 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