Skip to content

Support promise cancellation #158

Open
@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

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions