Timer.Remove

From Nomad DB
Revision as of 11:15, 3 August 2020 by Jan (talk | contribs) (Created page with "Removes a named timer which was created by timer.Create. This function does not work with simple timers. {{Warning|This function causes an error if a timer with the given...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Removes a named timer which was created by timer.Create. This function does not work with simple timers.

This function causes an error if a timer with the given name does not exist. It is recommended to use timer.RemoveIfExists instead.

Syntax

timer.Get(name)
timer.Get(instance)
  1. name: string (Timer name)
  2. instance: Timer (use timer.Get to acquire an instance)

Related Pages