UNPKG

@jsprismarine/prismarine

Version:

Dedicated Minecraft Bedrock Edition server written in TypeScript

31 lines 567 B
/** * Timer/Performance measurement utility. */ export default class Timer { /** * The start time. */ private startTime; /** * The end time. */ private endTime; constructor(); /** * Reset the timer. */ reset(): void; /** * Stop the timer. * * @returns The total duration in ms as a `float` */ stop(): number; /** * Get the total duration. * * @returns The total duration in ms as a `float` */ getResult(): number; } //# sourceMappingURL=Timer.d.ts.map