Feature #2845
openCall observe() and neglect() on a stream
0%
Description
When some tools call retain() on a stream, they should probably also do stream.observe() in order to start temporarily receiving messages posted to the stream, and update their representation.
When they call release() on a stream (e.g. Q.beforeRemove) then they would then do stream.neglect() if they did stream.observe() before. That way we would see realtime updates until tool is removed, it will release stream and neglect it.
For example Streams/participants
tool would be great to do that... so we can see participants joining/leaving some stream (e.g. a Calendar event, or a Conversation) while the tool is visible.
But when participants tool is removed through for example Q/lazyload
tool adding/removing tools while scrolling, it will neglect stream, and when it reappears, it will observe again. Would be cool!
Updated by Gregory Magarshak about 2 years ago
- Tracker changed from Bug to Feature