8000 Document when streams close. · linuxerwang/flutter-webrtc@59af3c8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 59af3c8

Browse files
Document when streams close.
1 parent eeef572 commit 59af3c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/rtc_data_channel.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,11 @@ class RTCDataChannel {
126126
final _messageController = StreamController<RTCDataChannelMessage>.broadcast(sync: true);
127127

128128
/// Stream of state change events. Emits the new state on change.
129+
/// Closes when the [RTCDataChannel] is closed.
129130
Stream<RTCDataChannelState> stateChangeStream;
130131

131132
/// Stream of incoming messages. Emits the message.
133+
/// Closes when the [RTCDataChannel] is closed.
132134
Stream<RTCDataChannelMessage> messageStream;
133135

134136
RTCDataChannel(this._peerConnectionId, this._label, this._dataChannelId) {

0 commit comments

Comments
 (0)
0