node-serialport-bindings-cpp/packages/binding-abstract
Francis Gulotta 1a087da8a6 v8.0.6
2019-12-25 16:05:14 -05:00
..
lib chore: change bindings constructor option to be optional (#1987) 2019-11-09 23:37:56 -05:00
.npmignore fix: npmignore should ignore .DS_Store files (#1954) 2019-10-03 20:37:13 -04:00
CHANGELOG.md v8.0.6 2019-12-25 16:05:14 -05:00
package-lock.json v8.0.6 2019-12-25 16:05:14 -05:00
package.json v8.0.6 2019-12-25 16:05:14 -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)
  }
}