bukkumaaku
Results
1
comments of
bukkumaaku
我也遇到了这个问题,找了很久都不能解决,现在勉强用着另一个方法: 先设置res为空 然后用线程启动一个http请求,在线程里面令res=http请求 然后用Thread.join来设置超时 ``` let res; let t = threads.start(()=>{ res=http.post(...); }); t.join(5000); t.interrput(); ```