cv.waitKey() is missing
DOEHOONLEE opened this issue · comments
cv.waitKey() is missing
is missing.
Is there some other way to achieve the same behavior? or is this going to be added in the future?
Thanks!
@DOEHOONLEE I don't think it will be added in the future. Because JavaScript is single-threaded, but cv.waitKey()
blocks the current thread.
If you want to monitor keyboard events, you can use library like https://github.com/ccampbell/mousetrap or https://github.com/jaywcjlove/hotkeys.