DelayedCallbackScheduler Class

Inherits: CallbackScheduler

Description

延时回调调度器。

用于将回调推迟到手动调用的时候调用,可用于单线程环境下(如各种UI环境)。

本类的所有成员都是线程安全的。

Constructor

C

void easyar_DelayedCallbackScheduler__ctor(easyar_DelayedCallbackScheduler * * Return)

C++17

DelayedCallbackScheduler()

C++03(Deprecated)

DelayedCallbackScheduler()

Java

public DelayedCallbackScheduler()

Kotlin

constructor()

Objective-C

+ (easyar_DelayedCallbackScheduler *) create

Swift

public convenience init()

C#

public DelayedCallbackScheduler()

runOne

执行一个回调。如果没有回调可执行,则返回false。

C

bool easyar_DelayedCallbackScheduler_runOne(easyar_DelayedCallbackScheduler * This)

C++17

bool runOne()

C++03(Deprecated)

bool runOne()

Java

public boolean runOne()

Kotlin

fun runOne(): Boolean

Objective-C

- (bool)runOne

Swift

public func runOne() -> Bool

C#

public virtual bool runOne()