Type alias PeerDataConnEvent
PeerDataConnEvent: { conn: DataConnection; } & ({ type: OPEN; } | { type: CLOSE; } | { data: any; type: DATA; } | { error: Error; type: ERROR; } | { state: RTCIceConnectionState; type: ICE_STATE_CHANGE; } | { type: BUS_CLOSE; })
Any event that may be generated by DataConnection.