Skip to content
M2O Scripting APIScripting reference
Data shapeServer APIGenerated

Timeout

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

Node.js timer handle returned by setTimeout and setInterval.

hasRef(): boolean

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

Whether this timer keeps the event loop alive.

boolean


ref(): Timeout

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

Keeps the event loop alive while this timer is pending.

Timeout

This timer.


refresh(): Timeout

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

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

Timeout

This timer.


unref(): Timeout

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

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

Timeout

This timer.