I’m not sure if I’m trying to shoehorn functionality into the Stream module that shouldn’t be there – but here’s my basic use case:
I have a large file of timed events, so an event source log more or less.
I’d like to have a process that could stream the file, emitting the events with real delays based on timestamp values, i.e. historical playback.
I can compose a stream to do this – but I can only run and kill it as a process, whereas I could like to control it to modify playback speed, pause it, etc.
Is there a good or canonical way to partially process a file like this with breaks in which I can intersperse commands?