Amp\Redis\SubscribeClient classSubscribeClient

Summary

Properties

Methods

Properties

Methods

__construct —public function__construct(string$uri,array$options =null)
No documentation.
Type Parameter Description Default Value
string $uri No documentation. none
array $options No documentation. null
close —public functionclose():Amp\Redis\Promise
No documentation.
subscribe —public functionsubscribe(string$channel):Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $channel No documentation. none
pSubscribe —public functionpSubscribe(string$pattern):Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $pattern No documentation. none
unsubscribe —public functionunsubscribe(string|string[]$channel =null):Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $channel No documentation. null
pUnsubscribe —public functionpUnsubscribe(string|string[]$pattern =null):Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $pattern No documentation. null
getConnectionState —public functiongetConnectionState()
No documentation.