wait For Card Present
Suspends until a card is detected.
This function suspends the current coroutine and waits until a card is detected in the reader. It provides a coroutine-friendly alternative to synchronous polling or asynchronous callbacks, and should be called from within a coroutine scope.
Return
true
if a card was successfully detected and is present.
Since
1.0.0
Throws
If an I/O error occurs while communicating with the reader.