pamelin
pamelin
@ripienaar I have to disagree with you. It is not straight forward to do it with enc connection (of course it is easy go is easy) It might be straight...
@wallyqs This only covers specific case where Handler is of true type `func(b []byte)` `Handler` is an interface. It is not straightforward to do this ``` parallelSubscribe := func(ec *nats.EncodedConn,...
Another option would be to extract logic which creates MsgHandler into the separate public function e.g. ``` func (c *EncodedConn) subscribe(subject, queue string, cb Handler) (*Subscription, error) { natsCB, err...
Hey @wallyqs it is quite clever solution you are proposing. I guess it would require some nil checks etc... and obviously tests. This was my main reason for having parallel...
> Would it be possible to skip V5.x and immediately update to 6.x ? That would help with supporting Ubuntu 22.04 for which mongodb 6.x is the lowest supported version....