Hi , Is there a method to act subscribe immediately and receive non message?
The current version of Subscribe() does not support waiting for a response from Redis.
Like:
sub := client.Subscribe(queryResp)
sub.Active() // TODO
ch := sub.Channel()
go func() {
for msg := range ch {
//do with msg
}
}
Hi , Is there a method to act subscribe immediately and receive non message? The current version of
Subscribe()
does not support waiting for a response from Redis.Like: