Skip to content

@sora-soft/framework


@sora-soft/framework / Timer

Class: Timer

Defined in: packages/framework/src/utility/Timer.ts:1

Constructors

Constructor

ts
new Timer(): Timer;

Returns

Timer

Methods

clearAll()

ts
clearAll(): void;

Defined in: packages/framework/src/utility/Timer.ts:14

Returns

void


timeout()

ts
timeout(timeMS): Promise<void>;

Defined in: packages/framework/src/utility/Timer.ts:2

Parameters

ParameterType
timeMSnumber

Returns

Promise<void>

基于 WTFPL 许可发布