MqxM
Denoβ€’3y agoβ€’
23 replies
Mqx

Deno stopps at file.read()

I am currently working on a way to communicate with a COM device. I can successfully open and read from the COM port. The only problem is, is there is no data on the COM port Deno pauses at that point in the code because the Promise gets neither resolved or rejected.

Here is the link to the Stackoverflow problem.

https://stackoverflow.com/questions/75400521/abort-promise-after-delay-in-deno
Stack Overflow
I am currently trying to open a COM port with Deno. This works so far and I can read the data with
file.read(buffer).
The only problem now is that if there is no more data in the COM port and I try...
Abort Promise after delay in Deno
Was this page helpful?