Simplify chat subscription API #9
Reference in New Issue
Block a user
Delete Branch "refactor/chat-subscribe-messages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Room.Subscribe()now returns<-chan Messageinstead ofchan *nats.MsgReceive()separatelyReceive()renamed toreceive()(unexported)Before:
After: