Skip to main content

any

Function any 

Source
pub fn any<T: IntoAll>(futures: T) -> Any<T::Branches> ⓘ
Expand description

Runs animations at the same time and completes as soon as the first one does; the others stop where they are. Returns the index of the one that finished. Takes the same arguments as all.