Skip to content

Support promise cancellation #158

@clue

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

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