Amp\Redis\SubscribeClient class SubscribeClient

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 function close(): Amp\Redis\Promise
No documentation.
subscribe — public function subscribe(string $channel): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $channel No documentation. none
pSubscribe — public function pSubscribe(string $pattern): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string $pattern No documentation. none
unsubscribe — public function unsubscribe(string|string[] $channel = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $channel No documentation. null
pUnsubscribe — public function pUnsubscribe(string|string[] $pattern = null): Amp\Redis\Promise
No documentation.
Type Parameter Description Default Value
string|string[] $pattern No documentation. null
getConnectionState — public function getConnectionState()
No documentation.