Airbreaks-Low-Power/Programming/Javascript/node_modules/@serialport/binding-abstract
2023-12-19 18:30:36 -06:00
..
lib First Commit 2023-12-19 18:30:36 -06:00
CHANGELOG.md First Commit 2023-12-19 18:30:36 -06:00
LICENSE First Commit 2023-12-19 18:30:36 -06:00
package.json First Commit 2023-12-19 18:30:36 -06:00
README.md First Commit 2023-12-19 18:30:36 -06: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)
  }
}