我正在使用while循环轮询一个API端点,该循环检查JSON上的.get()方法是否返回None: while requests.get(render_execution_url, headersdetailed status is {}".format(render_execution_url, status, status_detail)) 这里的想法是,我们一直轮询端点,直到填充了"finalized_at不幸的是,当JSON
我编写了一个轮询脚本来接收新创建的数据记录。我想每隔一秒钟执行一次调用。我尝试运行asynchronously,轮询setTimeout()和setInterval(),但是在执行Polling()函数时都冻结了浏览器,这对我来说真的很奇怪。api_call_parameters, function(json_response) /* this is the callback belongs to the $.POST我不能为此使用Workers或H