Function from_iter

pub fn from_iter<I: IntoIterator>(iter: I) -> FromIter<I::IntoIter>

Converts an iterator into an async iterator.