future_map function

Apply a function to each element of a vector via futures