attach method
A view shows the stream: it gets the open session, or a new one at once.
Implementation
void attach() {
_views++;
_closeTimer?.cancel();
_closeTimer = null;
_ensureSession();
}
A view shows the stream: it gets the open session, or a new one at once.
void attach() {
_views++;
_closeTimer?.cancel();
_closeTimer = null;
_ensureSession();
}