Yuari
Documentation
Docs/Timer/Stopwatch:Start

Stopwatch:Start

Starts or resumes the stopwatch.

Syntax

Stopwatch:Start() -> nil

Parameters

This function takes no parameters.

Returns

TypeDescription
nilThis function does not return a value.

Description

Stopwatch:Start is part of the Timer library. Timer, Stopwatch and Duration objects driven by the VM scheduler.

The operation is performed immediately using the arguments supplied at the call site.

Example

local stopwatch = Stopwatch.new()
stopwatch:Start()

Notes

  • Timer callbacks run on the executor scheduler; disable or destroy timers when they are finished.