stateChangeStream property

Stream<RTCDataChannelState> stateChangeStream
read / write

Stream of state change events. Emits the new state on change. Closes when the RTCDataChannel is closed.

Implementation

Stream<RTCDataChannelState> stateChangeStream;