Skip to content

System self setTimeOut function number

xu_whale edited this page Dec 4, 2019 · 5 revisions

title: System:setTimeOut(function a, number b) comments: false

简介

延迟执行任务

  • @param a function 需要被延迟执行的任务,以callback形式传入。样式为:
function()
	--- do semoting ...
end
  • @param b number 延迟时间,单位:s ⚠️ 虚拟机和window销毁,就会释放
Clone this wiki locally