Skip to content

Support promise cancellation #158

Description

@clue

We should register a Promise cancellation handler so that the following code actually cleans up the underlying promise and socket resources as applicable:

$promise = $redis->blpop('list', 100);

$promise->cancel();

See reactphp/dns#28 and many others

Activity

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

    help wantedExtra attention is needednew featureNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions