Function from_fn_async

Source
pub async fn from_fn_async<T, const N: usize, F>(fill: F) -> [T; N]
where F: AsyncFn(usize) -> T,