Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request feature] Please add eventListener #5

Open
silkyland opened this issue Oct 28, 2022 · 1 comment
Open

[Request feature] Please add eventListener #5

silkyland opened this issue Oct 28, 2022 · 1 comment

Comments

@silkyland
Copy link

I need event function like :

  1. onDeviceFound
  2. onDeviceRemove
  3. onCardInsert
  4. onCardRemove
  5. etc ...
@milkyway044
Copy link

for 3,4 you can just
await Pcsc.waitForCardPresent(context, reader);
await Pcsc.waitForCardRemoved(context, reader);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants