node-serialport-bindings-cpp/packages/binding-abstract
Francis Gulotta cdda51fef8 v9.0.7
2021-02-21 22:36:27 -05:00
..
lib Added low latency mode for linux (#2102) 2021-02-21 17:55:07 -05:00
.npmignore fix: npmignore should ignore .DS_Store files (#1954) 2019-10-03 20:37:13 -04:00
CHANGELOG.md v9.0.7 2021-02-21 22:36:27 -05:00
package-lock.json v9.0.7 2021-02-21 22:36:27 -05:00
package.json v9.0.7 2021-02-21 22:36:27 -05:00
README.md chore: split out more packages (#1611) 2018-08-25 09:31:34 -07:00

@serialport/BindingAbstract

This Abstract binding class is the base for all serialport bindings. You wouldn't use this class directly but instead extend it to make a new binding for a different platform or underling technology.

This is currently used for the win32, linux, darwin and mock bindings.

This is how you use it.

class MockBinding extends AbstractBinding {
  constructor(opt) {
    super(opt)
  }
}