It seems IterableDataset 294 would be suitable for streaming data:

For example, such a dataset, when called  iter(dataset) , could return a stream of data reading from a database, a remote server, or even logs generated in real time.