Hello,
Thank you for providing us with this wonderful library!
A missing feature of this library to me is the ability to do a non-blocking poll on the LineEventHandle struct.
Currently every method (.get_event(), .next() and .read_event()) is blocking.
Ideally we would have a sort of .has_event() -> bool function available to check whether there is an event available to process. This way we would take maximum advantage of the queue-like architecture of the new GPIO character device ABI.
Please let me know what you think of this suggestion.
Cheers,
Sven.
Hello,
Thank you for providing us with this wonderful library!
A missing feature of this library to me is the ability to do a non-blocking poll on the LineEventHandle struct.
Currently every method (
.get_event(),.next()and.read_event()) is blocking.Ideally we would have a sort of
.has_event() -> boolfunction available to check whether there is an event available to process. This way we would take maximum advantage of the queue-like architecture of the new GPIO character device ABI.Please let me know what you think of this suggestion.
Cheers,
Sven.