Current subscribe API is not friendly to reliable applications. Specifically:
- cannot subscribe indefinitely
- cannot extend existing subscription and has to wait for subscribe to expire before subscribe again
- cannot unsubscribe
1 and 2 will cause subscriber to miss a few blocks of subscription (and we’ve seen this cause troubles already in d-chat)
What I proposed:
- (Maybe) allow subscribe indefinitely
- Subscribe again before existing subscription expires will refresh (extend or shorten) existing subscription expiration
- Implement unsubscribe
I think we should allow at least one of 1 or 2 (3 is necessary IMO).
- Yes
- No
0 voters