library
/
com.secoo.coobox.library.util.schedule.handlertimer
/
HandlerTimer
/
scheduleAtFixedRate
schedule
At
Fixed
Rate
fun
scheduleAtFixedRate
(task:
Runnable
?, intervalInMills:
Long
?)
Content copied to clipboard
fun
scheduleAtFixedRate
(intervalInMills:
Long
?, task: () ->
Unit
? = null)
Content copied to clipboard
以固定的频率执行任务
Parameters
task
待执行的任务
intervalInMills
执行的频率 单位为ms