Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

Timeout

Defined in: server/api.d.ts:6125

Node.js timer handle returned by setTimeout and setInterval.

hasRef(): boolean

Defined in: server/api.d.ts:6141

Whether this timer keeps the event loop alive.

boolean


ref(): Timeout

Defined in: server/api.d.ts:6130

Keeps the event loop alive while this timer is pending.

Timeout

This timer.


refresh(): Timeout

Defined in: server/api.d.ts:6147

Restarts this timer’s countdown from now, with its original delay.

Timeout

This timer.


unref(): Timeout

Defined in: server/api.d.ts:6136

Lets the event loop exit while this timer is still pending.

Timeout

This timer.