worker_threadworkerrun_timeout本页总览run_timeout 把一个任务抛到工作线程中执行,会等待执行完成,带超时 声明 mixed run_timeout(float timeout, function func, ...) 参数 参数名描述func任务的函数指针 返回值 void : 出现了报错 nil : 等待超时 others : 任务执行结果 使用方式 返回文档