You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The client uses the pubsub method to create and return the pubsub client. This masks the redis PUBSUB command.
There are two ways I can think of around this
Change the name of the pubsub method to something like pubsub_client
Pass self to PubsubClient.new in the pubsub method and keep a reference to it in the Pubsubclient object. Forward the call to this Client object in a method called pubsub on the PubsubClient object.
The text was updated successfully, but these errors were encountered:
Good point; I don't think the command existed when I introduced this API. It's annoying, but I think the correct solution is to rename the pubsub method to pubsub_client as you suggest.
The client uses the
pubsub
method to create and return the pubsub client. This masks the redis PUBSUB command.There are two ways I can think of around this
pubsub
method to something likepubsub_client
self
toPubsubClient.new
in thepubsub
method and keep a reference to it in thePubsubclient
object. Forward the call to thisClient
object in a method calledpubsub
on thePubsubClient
object.The text was updated successfully, but these errors were encountered: