Skip to content

How to pass dependency output to another dependency #17

@CMCDragonkai

Description

@CMCDragonkai

I have a situation where I have to start/boot multiple objects at a time asynchronously. Some of these classes depend on other classes to be instantiated first. Think an IoC container with asynchronous setup.

This promise graph looks promising, however there doesn't seem to be a way to wire the outputs of one dependency into another. Since you declare that a particular action depends on another action, why can't we take as input a parameter of the outputs?

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