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 |
||
|---|---|---|
| .. | ||
| auto-detect.js | ||
| base.js | ||
| darwin.js | ||
| linux-list.js | ||
| linux.js | ||
| mock.js | ||
| poller.js | ||
| unix-read.js | ||
| unix-write.js | ||
| win32.js | ||