You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering if a SerialPort 'signals' event was ever considered - to complement getSignals. To detect changes on RI, DCD and DSR (and CTS), the application needs to continually poll by invoking getSignals. I guess one can just poll with getSignals() every 100-500ms or so, but it seems to diverge from good asynchronous programming.
Was a SerialPort 'signals' or 'signalschange' event overlooked, or intentionally omitted for simplicity?
The text was updated successfully, but these errors were encountered:
I am wondering if a
SerialPort
'signals' event was ever considered - to complementgetSignals
. To detect changes on RI, DCD and DSR (and CTS), the application needs to continually poll by invokinggetSignals
. I guess one can just poll withgetSignals()
every 100-500ms or so, but it seems to diverge from good asynchronous programming.Was a
SerialPort
'signals' or 'signalschange' event overlooked, or intentionally omitted for simplicity?The text was updated successfully, but these errors were encountered: