Version: 2019.1
Language: 中文
Experimental: this API is experimental and might be changed or removed in the future.

IScheduler.ScheduleUntil

Switch to Manual
public Experimental.UIElements.IScheduledItem ScheduleUntil (Action<TimerState> timerUpdateEvent, long delayMs, long intervalMs, Func<bool> stopCondition);

Parameters

timerUpdateEvent要执行的操作。
delayMs执行操作前的最小延迟(以毫秒为单位)。
intervalMs每次执行之间的最小间隔(以毫秒为单位)。
stopCondition当条件返回 true 时,将取消项目计划。

Returns

IScheduledItem 对计划操作的内部引用。

Description

计划稍后执行此操作。条件满足时将取消项目计划。