WaitWhile Class

extends

CustomYieldInstruction

Description

时间等待指令


Constructor

typescript

constructor(waitFunc: () => boolean)

waitFunc: 等待条件。


Properties

keepWaiting

typescript

public get keepWaiting(): boolean;

是否继续等待。


Methods

release

typescript

public release(): void;

释放该指令。