Here's a full example of a stream that loops until all examples are in the dataset and then stops:
In this example, it also adds options and images, so if you just want to load the data, you can leave that out. You can implement it by editing the built-in ner.manual recipe, wrapping the existing recipe (see your PRODIGY_README.html for more details) or by writing a custom loader.