use event_iterator::EventIterator; #[async_main::async_main] async fn main(_spawner: async_main::LocalSpawner) { let ei = event_iterator::from_iter([1, 2, 3, 4, 5]).inspect(|&x| { let uwu = "uwu".repeat(x); println!("{uwu}"); }); while ei.next_unpinned().await.is_some() {} }