Switching `streamOf` to `repeat` and adding `repeat.nTimes`.