Skip to content

v0.5.0: Async factory method, rename send/receive

Pre-release
Pre-release

Choose a tag to compare

@Cellivar Cellivar released this 30 Dec 12:50
fd4c917

Relevant changes:

  • Make UsbDeviceChannel constructor protected, add async fromDevice factory method instead.
  • Add error handler callback for InputListener.
  • Add maxReceivePacketSize option to comm options, to better control receive sizes.
  • Rename sendCommands to send
  • Rename getInput to receive

On the path towards 1.0 making the API easier to use and extend!

Full Changelog: v0.4.1...v0.5.0