Skip to content

nested "side effect" pull-stream #68

Description

@terinjokes

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions