This is more flexible & allows for multiple listeners.
The new events allow the user to push data to the UART without a ton of trouble & setTimeouts.
This does introduce a new dependency, eventemitter3. This is not really needed for Node, but it is needed on the browser since the browser's events implementation is different than in Node.
This is more flexible & allows for multiple listeners.
The new events allow the user to push data to the UART without a ton of trouble & setTimeouts.
This does introduce a new dependency,
eventemitter3
. This is not really needed for Node, but it is needed on the browser since the browser's events implementation is different than in Node.