In a project I have pull-stream with POJOs. The POJOs contain an array of files that need to be downloaded as part of handling that item, which can also be modeled as a pull-stream. However, from the perspective of the outer stream, this is a side effect that needs to happen. I don't want to replace the POJO with any of the data being downloaded.
I can't figure out any way to model this with the current constructs in pull-stream. The closest that exists is pull-stream/throughs/through that doesn't change the value, but there's no equivalent for async tasks (such as waiting on another stream).
What would you suggest I do?
In a project I have pull-stream with POJOs. The POJOs contain an array of files that need to be downloaded as part of handling that item, which can also be modeled as a pull-stream. However, from the perspective of the outer stream, this is a side effect that needs to happen. I don't want to replace the POJO with any of the data being downloaded.
I can't figure out any way to model this with the current constructs in pull-stream. The closest that exists is
pull-stream/throughs/throughthat doesn't change the value, but there's no equivalent for async tasks (such as waiting on another stream).What would you suggest I do?