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
Copy file name to clipboardExpand all lines: UPGRADE_GUIDE.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ Upgrading from 4.x to 5.x
3
3
5.x is a major rewrite to make node serialport a NodeJS stream. While the api surface is similar there have been a number of changes to ensure more consistent error handling and operation of a serial port.
4
4
5
5
- Removed the `disconnect` event. The `close` event now fires with a disconnect error object in the event of a disconnection.
6
+
-`drain` now waits for the current javascript write to complete before calling the system level drain.
0 commit comments