-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hello,
I'm playing with your library with Raspberry Pi and PN532 Breakout board. Everything is working well :)
I had the need to set a timeout to the scanTag() function if if nothing had been found. So I needed a function to stop all the pending listeners.
This worked like a charm for me:
removeListeners() {
this.frameEmitter.removeAllListeners();
}Maybe this can be useful for others.
Anyway, maybe a timeout parameter on the scanTag() function could be the best option...
Thank you,
Alessandro
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels