mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-25 18:37:19 +00:00
Drains don't make any sense if called on a closed port or before any writes. I'm queuing drains so they run one the port opens, just like `write()` this allows for a much easier time ensuring all data is written in a script. - `drain()` waits for an open event if the port is closed - mock-bindings now cancel pending reads closes #1229 |
||
|---|---|---|
| .. | ||
| socketio | ||
| drain.js | ||
| mocking.js | ||
| open-callback.js | ||
| open-event.js | ||
| open-no-auto-open.js | ||
| readline.js | ||