Skip to content

Running requests async in parallel #561

Closed
@spidgorny

Description

@spidgorny

In order to speed-up data retrieval it would be nice to be able to run several requests in parallel.

I know Guzzle supports it with their GuzzleHttp\Pool class. I just need a way to create requests without sending them and then send them using the Pool class.

Please let me know if there's an example or documentation for this.
I've started experimenting with it here: github-api-async
But I'm stuck and need help. Thanks.

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