future_map_if function

Apply a function to each element of a vector conditionally via futures