Skip to content

Support Promise cancellation #28

Closed
@clue

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)

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