return value setTimeout and Deno.unrefTimer
Hi,
In the recent version, I had no trouble passing the return value from setTimeout to Deno.unrefTimer.
But today I get this:
and some logs later:
Why does setTimeout return a structure, and unrefTime might look for a value in [Symbol(timerId)]?
Did I miss something, or is that an error?
There is something strange going on. I tried to make it work, and need this code, which means there are some cases where the returned value is a number, and sometimes it's the struct:
thats the coerce code:
0 Replies