API reference@evolu/commonTime › createTime

function createTime(): Time;

Defined in: packages/common/src/Time.ts:95

Creates a Time using Date.now(), performance, and globalThis.setTimeout.

Long timeouts are split into native timer chunks and tracked against an absolute wall-clock deadline so late callback execution and system suspension do not extend the requested delay. System clock adjustments can therefore shorten or lengthen long timeouts.

Throws if the system clock returns an out-of-range value. This is intentional — there's no reasonable fallback for a misconfigured clock.