kient
kient copied to clipboard
Import module blocking operation
Hi, I tried to wrap Kient into a class and noticed ctrl+c wasn't working. Then I made a small check, and it was the import part blocking the operation. Consider this example
import { Events, Kient } from 'kient';
setTimeout(() => {
console.log("hello world");
}, 10000);
If we trigger ctrl+c before the timeout is done, it doesn't work
If we call create it doesnt block the operation:
import { Events, Kient } from 'kient';
const client = await Kient.create()
setTimeout(() => {
console.log("hello world");
}, 10000);
I don't seem to have this issue in my environment, and I can't see why just the import statement would affect anything here.
Would you be able to share your environment?
Maybe its windows problem, maybe something wrong with my env .
Windows 23H2, node v18.19.0