Skip to content

Have any good way to implement multi promise control like Async? #1070

@hank7444

Description

@hank7444

example1, I have 3 apis need to call, if they all resolve, return success and get me all data which return by those apis. If one of them are rejected, return failure to me.

example2, I have 2 apis need to call, if one of them resolve, return success and get me data.
If all of them are rejected, return failure to me.

Have any possible do such like these sophisticated async control on redux?

I have already used apiMiddleware, but it only use on 1 ajax call..

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