Timer.Remove

From Nomad DB
Revision as of 11:16, 3 August 2020 by Jan (talk | contribs)
(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.Remove(name)
timer.Remove(instance)
  1. name: string (Timer name)
  2. instance: Timer (use timer.Get to acquire an instance)

Related Pages