Mapbox navigation version of {@link java.util.function.Consumer}
Performs this operation on the given argument.