Skip to content
FMFallout Multiplayer Scripting APIScripting guides and API
Data shapeServer APIGenerated

Timeout

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

Node.js timer handle returned by setTimeout and setInterval.

hasRef(): boolean

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

Whether this timer keeps the event loop alive.

boolean


ref(): Timeout

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

Keeps the event loop alive while this timer is pending.

Timeout

This timer.


refresh(): Timeout

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

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

Timeout

This timer.


unref(): Timeout

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

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

Timeout

This timer.