Skip to main content

sequence

Function sequence 

Source
pub fn sequence<I>(delay: f64, futures: I) -> All<VecBranches<Delayed<I::Item>>> ⓘ
where I: IntoIterator, I::Item: Animation,
Expand description

Starts animations one after another, delay seconds apart; they then run concurrently. Completes when all have. Takes a Vec, an array or an iterator of animations of one type. For “the same animation on many nodes”, stagger reads better.