node-serialport-bindings-cpp/lib/bindings
Francis Gulotta 470afbcae6 Queue drains
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
2017-07-24 17:03:05 -07:00
..
auto-detect.js Promised based bindings. 2017-01-10 23:02:51 -05:00
base.js [all] Have drain wait for pending JS write operations before calling system drain 2017-07-16 22:05:58 -04:00
darwin.js [all] Have drain wait for pending JS write operations before calling system drain 2017-07-16 22:05:58 -04:00
linux-list.js lint & fixes 2017-07-23 08:19:39 -07:00
linux.js [all] Have drain wait for pending JS write operations before calling system drain 2017-07-16 22:05:58 -04:00
mock.js Queue drains 2017-07-24 17:03:05 -07:00
poller.js [unix] New read/write subsystem (#1212) 2017-07-05 09:12:31 -04:00
unix-read.js [all] Have drain wait for pending JS write operations before calling system drain 2017-07-16 22:05:58 -04:00
unix-write.js [all] Have drain wait for pending JS write operations before calling system drain 2017-07-16 22:05:58 -04:00
win32.js [all] Have drain wait for pending JS write operations before calling system drain 2017-07-16 22:05:58 -04:00