8000 subscribe method doesn`t supports closures as an callback · Issue #6 · phpredis/phpredis · GitHub
[go: up one dir, main page]

Skip to content
subscribe method doesn`t supports closures as an callback #6
Closed
@vkartaviy

Description

@vkartaviy

It would be great if you will add closures support into the subscribe method.

For example:

$redis->subscribe(array($channel), function($redis, $channel, $message){
    echo 'Handle message ' . $message . ' for chanel ' . $channel . PHP_EOL;
});

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0