Skip to content

Support Promise cancellation #28

Description

@clue

We should register a Promise cancellation handler so that the following code actually cleans up the underlying socket resource:

$promise = $resolver->resolve('reactphp.org');

$promise->cancel();

(This likely depends on #19)

Activity

  1. modified the milestone: on Feb 24, 2016
  2. clue commented on Feb 24, 2016

    @clue
    MemberAuthor

    This also likely depends on reactphp-legacy/socket-client#40 so that a (pending) TCP connection to the DNS server can also be canceled.

  3. removed this from the milestone on Aug 10, 2017
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