Skip to content

Automatically wait for promises on destruct.  #33

Open

Description

@Nyholm

From https://github.com/php-http/httplug-quickstart/pull/1#issuecomment-312874509

Currently Guzzle automatically calls the queue in the shutdown handler or can be called manually. The queue is responsible for waiting on Promises. In our cURL client the only solution right now is to manually do that for every promise.

Activity

  1. sagikazarmark commented on Jul 4, 2017

    @sagikazarmark
    Member

    Not sure if this is precise. On destruct of what? The client? That would require the keep the queue inside the client which I am not sure we want.

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