Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pub/Sub #1

Merged
merged 4 commits into from
Aug 24, 2019
Merged

Pub/Sub #1

merged 4 commits into from
Aug 24, 2019

Conversation

thekid
Copy link
Member

@thekid thekid commented Aug 24, 2019

Example:

use io\redis\RedisProtocol;

$protocol= new RedisProtocol('redis://localhost');
$protocol->command('SUBSCRIBE', 'messages');

while ($message= $protocol->receive()) {
  Console::writeLine('Received ', $message);
}

@thekid thekid added the enhancement New feature or request label Aug 24, 2019
@thekid thekid merged commit c7980b3 into master Aug 24, 2019
@thekid thekid deleted the feature/pubsub branch August 24, 2019 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant