Add flatMapWith(resources) operator