# hs.timer

Execute functions with various timing rules

**NOTE**: timers use NSTimer internally, which will be paused when computers sleep.
Especially, repeating timers won't be triggered at the specified time when there are sleeps in between.
The workaround is to prevent system from sleeping, configured in Energy Saver in System Preferences.

---

## Submodules
 * [hs.timer.delayed](hs.timer.delayed.md)

---

## API Overview
**Functions** - _API calls offered directly by the extension_
 * [absoluteTime](#absolutetime)
 * [days](#days)
 * [hours](#hours)
 * [localTime](#localtime)
 * [minutes](#minutes)
 * [seconds](#seconds)
 * [secondsSinceEpoch](#secondssinceepoch)
 * [usleep](#usleep)
 * [weeks](#weeks)

**Constructors** - _API calls which return an object, typically one that offers API methods_
 * [doAfter](#doafter)
 * [doAt](#doat)
 * [doEvery](#doevery)
 * [doUntil](#dountil)
 * [doWhile](#dowhile)
 * [new](#new)
 * [waitUntil](#waituntil)
 * [waitWhile](#waitwhile)

**Methods** - _API calls which can only be made on an object returned by a constructor_
 * [fire](#fire)
 * [nextTrigger](#nexttrigger)
 * [running](#running)
 * [setNextTrigger](#setnexttrigger)
 * [start](#start)
 * [stop](#stop)

---

## API Documentation

#### Functions

### [absoluteTime](#absolutetime)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.absoluteTime() -> nanoseconds`                                                                    |
| **Type**                                    | Function                                                                     |
| **Description**                             | Returns the absolute time in nanoseconds since the last system boot.                                                                     |
| **Parameters**                              | <ul><li>None</li></ul> |
| **Returns**                                 | <ul><li>the time since the last system boot in nanoseconds</li></ul>          |
| **Notes**                                   | <ul><li>this value does not include time that the system has spent asleep</li><li>this value is used for the timestamps in system generated events.</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/libtimer.m line 447](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/libtimer.m#L447) |

---

### [days](#days)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.days(n) -> sec`                                                                    |
| **Type**                                    | Function                                                                     |
| **Description**                             | Converts days to seconds                                                                     |
| **Parameters**                              | <ul><li>n - A number of days</li></ul> |
| **Returns**                                 | <ul><li>The number of seconds in n days</li></ul>          |
| **Notes**                                   | None |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/timer.lua line 81](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/timer.lua#L81) |

---

### [hours](#hours)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.hours(n) -> seconds`                                                                    |
| **Type**                                    | Function                                                                     |
| **Description**                             | Converts hours to seconds                                                                     |
| **Parameters**                              | <ul><li>n - A number of hours</li></ul> |
| **Returns**                                 | <ul><li>The number of seconds in n hours</li></ul>          |
| **Notes**                                   | None |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/timer.lua line 70](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/timer.lua#L70) |

---

### [localTime](#localtime)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.localTime() -> number`                                                                    |
| **Type**                                    | Function                                                                     |
| **Description**                             | Returns the number of seconds since local time midnight                                                                     |
| **Parameters**                              | <ul><li>None</li></ul> |
| **Returns**                                 | <ul><li>the number of seconds</li></ul>          |
| **Notes**                                   | None |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/timer.lua line 215](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/timer.lua#L215) |

---

### [minutes](#minutes)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.minutes(n) -> seconds`                                                                    |
| **Type**                                    | Function                                                                     |
| **Description**                             | Converts minutes to seconds                                                                     |
| **Parameters**                              | <ul><li>n - A number of minutes</li></ul> |
| **Returns**                                 | <ul><li>The number of seconds in n minutes</li></ul>          |
| **Notes**                                   | None |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/timer.lua line 59](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/timer.lua#L59) |

---

### [seconds](#seconds)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.seconds(timeOrDuration) -> seconds`                                                                    |
| **Type**                                    | Function                                                                     |
| **Description**                             | Converts a string with a time of day or a duration into number of seconds                                                                     |
| **Parameters**                              | <ul><li>timeOrDuration - a string that can have any of the following formats:
  "HH:MM:SS" or "HH:MM" - represents a time of day (24-hour clock), returns the number of seconds since midnight
  "DDdHHh", "HHhMMm", "MMmSSs", "DDd", "HHh", "MMm", "SSs", "NNNNms" - represents a duration in days, hours, minutes, seconds and/or milliseconds</li></ul> |
| **Returns**                                 | <ul><li>The number of seconds</li></ul>          |
| **Notes**                                   | None |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/timer.lua line 45](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/timer.lua#L45) |

---

### [secondsSinceEpoch](#secondssinceepoch)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.secondsSinceEpoch() -> sec`                                                                    |
| **Type**                                    | Function                                                                     |
| **Description**                             | Gets the (fractional) number of seconds since the UNIX epoch (January 1, 1970)                                                                     |
| **Parameters**                              | <ul><li>None</li></ul> |
| **Returns**                                 | <ul><li>The number of seconds since the epoch</li></ul>          |
| **Notes**                                   | <ul><li>This has much better precision than `os.time()`, which is limited to whole seconds.</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/libtimer.m line 424](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/libtimer.m#L424) |

---

### [usleep](#usleep)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.usleep(microsecs)`                                                                    |
| **Type**                                    | Function                                                                     |
| **Description**                             | Blocks Lua execution for the specified time                                                                     |
| **Parameters**                              | <ul><li>microsecs - A number containing a time in microseconds to block for</li></ul> |
| **Returns**                                 | <ul><li>None</li></ul>          |
| **Notes**                                   | <ul><li>Use of this function is strongly discouraged, as it blocks all main-thread execution in Hammerspoon. This means no hotkeys or events will be processed in that time, no GUI updates will happen, and no Lua will execute. This is only provided as a last resort, or for extremely short sleeps. For all other purposes, you really should be splitting up your code into multiple functions and calling `hs.timer.doAfter()`</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/libtimer.m line 243](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/libtimer.m#L243) |

---

### [weeks](#weeks)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.weeks(n) -> sec`                                                                    |
| **Type**                                    | Function                                                                     |
| **Description**                             | Converts weeks to seconds                                                                     |
| **Parameters**                              | <ul><li>n - A number of weeks</li></ul> |
| **Returns**                                 | <ul><li>The number of seconds in n weeks</li></ul>          |
| **Notes**                                   | None |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/timer.lua line 92](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/timer.lua#L92) |

---

#### Constructors

### [doAfter](#doafter)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.doAfter(sec, fn) -> timer`                                                                    |
| **Type**                                    | Constructor                                                                     |
| **Description**                             | Calls a function after a delay                                                                     |
| **Parameters**                              | <ul><li>sec - A number of seconds to wait before calling the function</li><li>fn - A function to call</li></ul> |
| **Returns**                                 | <ul><li>An `hs.timer` object</li></ul>          |
| **Notes**                                   | <ul><li>There is no need to call `:start()` on the returned object, the timer will be already running.</li><li>The callback can be cancelled by calling the `:stop()` method on the returned object before `sec` seconds have passed.</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/libtimer.m line 205](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/libtimer.m#L205) |

---

### [doAt](#doat)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.doAt(time[, repeatInterval], fn[, continueOnError]) -> timer`                                                                    |
| **Type**                                    | Constructor                                                                     |
| **Description**                             | Creates and starts a timer which will perform `fn` at the given (local) `time` and then (optionally) repeat it every `interval`.                                                                     |
| **Parameters**                              | <ul><li>time - number of seconds after (local) midnight, or a string in the format "HH:MM" (24-hour local time), indicating the desired trigger time</li><li>repeatInterval - (optional) number of seconds between triggers, or a string in the format "DDd", "DDdHHh", "HHhMMm", "HHh" or "MMm" indicating days, hours and/or minutes between triggers; if omitted or `0` the timer will trigger only once</li><li>fn - a function to call every time the timer triggers</li><li>continueOnError - an optional boolean flag, defaulting to false, which indicates that the timer should not be automatically stopped if the callback function results in an error.</li></ul> |
| **Returns**                                 | <ul><li>a timer object</li></ul>          |
| **Notes**                                   | <ul><li>The timer can trigger up to 1 second early or late</li><li>The first trigger will be set to the earliest occurrence given the `repeatInterval`; if that's omitted,</li><li>   and `time` is earlier than the current time, the timer will trigger the next day. If the repeated interval</li><li>   results in exactly 24 hours you can schedule regular jobs that will run at the expected time independently</li><li>   of when Hammerspoon was restarted/reloaded. E.g.:</li><li>  If it's 19:00, `hs.timer.doAt("20:00",somefn)` will set the timer 1 hour from now</li><li>  If it's 21:00, `hs.timer.doAt("20:00",somefn)` will set the timer 23 hours from now</li><li>  If it's 21:00, `hs.timer.doAt("20:00","6h",somefn)` will set the timer 5 hours from now (at 02:00)</li><li>  To run a job every hour on the hour from 8:00 to 20:00: `for h=8,20 do hs.timer.doAt(h..":00","1d",runJob) end`</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/timer.lua line 229](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/timer.lua#L229) |

---

### [doEvery](#doevery)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.doEvery(interval, fn) -> timer`                                                                    |
| **Type**                                    | Constructor                                                                     |
| **Description**                             | Repeats fn every interval seconds.                                                                     |
| **Parameters**                              | <ul><li>interval - A number of seconds between triggers</li><li>fn - A function to call every time the timer triggers</li></ul> |
| **Returns**                                 | <ul><li>An `hs.timer` object</li></ul>          |
| **Notes**                                   | <ul><li>This function is a shorthand for `hs.timer.new(interval, fn):start()`</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/timer.lua line 159](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/timer.lua#L159) |

---

### [doUntil](#dountil)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.doUntil(predicateFn, actionFn[, checkInterval]) -> timer`                                                                    |
| **Type**                                    | Constructor                                                                     |
| **Description**                             | Creates and starts a timer which will perform `actionFn` every `checkinterval` seconds until `predicateFn` returns true.  The timer is automatically stopped when `predicateFn` returns true.                                                                     |
| **Parameters**                              | <ul><li>predicateFn - a function which determines when to stop calling `actionFn`.  This function takes no arguments, but should return true when it is time to stop calling `actionFn`.</li><li>actionFn - a function which performs the desired action.  This function may take a single argument, the timer itself.</li><li>checkInterval - an optional parameter indicating how often to repeat the `predicateFn` check. Defaults to 1 second.</li></ul> |
| **Returns**                                 | <ul><li>a timer object</li></ul>          |
| **Notes**                                   | <ul><li>The timer is passed as an argument to `actionFn` so that it may stop the timer prematurely (i.e. before predicateFn returns true) if desired.</li><li>See also `hs.timer.doWhile`, which is essentially the opposite of this function</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/timer.lua line 131](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/timer.lua#L131) |

---

### [doWhile](#dowhile)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.doWhile(predicateFn, actionFn[, checkInterval]) -> timer`                                                                    |
| **Type**                                    | Constructor                                                                     |
| **Description**                             | Creates and starts a timer which will perform `actionFn` every `checkinterval` seconds while `predicateFn` returns true.  The timer is automatically stopped when `predicateFn` returns false.                                                                     |
| **Parameters**                              | <ul><li>predicateFn - a function which determines when to stop calling `actionFn`.  This function takes no arguments, but should return false when it is time to stop calling `actionFn`.</li><li>actionFn - a function which performs the desired action.  This function may take a single argument, the timer itself.</li><li>checkInterval - an optional parameter indicating how often to repeat the `predicateFn` check. Defaults to 1 second.</li></ul> |
| **Returns**                                 | <ul><li>a timer object</li></ul>          |
| **Notes**                                   | <ul><li>The timer is passed as an argument to `actionFn` so that it may stop the timer prematurely (i.e. before predicateFn returns false) if desired.</li><li>See also `hs.timer.doUntil`, which is essentially the opposite of this function</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/timer.lua line 195](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/timer.lua#L195) |

---

### [new](#new)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.new(interval, fn [, continueOnError]) -> timer`                                                                    |
| **Type**                                    | Constructor                                                                     |
| **Description**                             | Creates a new `hs.timer` object for repeating interval callbacks                                                                     |
| **Parameters**                              | <ul><li>interval - A number of seconds between firings of the timer</li><li>fn - A function to call every time the timer fires</li><li>continueOnError - An optional boolean, true if the timer should continue to be triggered after the callback function has produced an error, false if the timer should stop being triggered after the callback function has produced an error. Defaults to false.</li></ul> |
| **Returns**                                 | <ul><li>An `hs.timer` object</li></ul>          |
| **Notes**                                   | <ul><li>The returned object does not start its timer until its `:start()` method is called</li><li>If `interval` is 0, the timer will not repeat (because if it did, it would be repeating as fast as your machine can manage, which seems generally unwise)</li><li>For non-zero intervals, the lowest acceptable value for the interval is 0.00001s. Values >0 and <0.00001 will be coerced to 0.00001</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/libtimer.m line 128](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/libtimer.m#L128) |

---

### [waitUntil](#waituntil)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.waitUntil(predicateFn, actionFn[, checkInterval]) -> timer`                                                                    |
| **Type**                                    | Constructor                                                                     |
| **Description**                             | Creates and starts a timer which will perform `actionFn` when `predicateFn` returns true.  The timer is automatically stopped when `actionFn` is called.                                                                     |
| **Parameters**                              | <ul><li>predicateFn - a function which determines when `actionFn` should be called.  This function takes no arguments, but should return true when it is time to call `actionFn`.</li><li>actionFn - a function which performs the desired action.  This function may take a single argument, the timer itself.</li><li>checkInterval - an optional parameter indicating how often to repeat the `predicateFn` check. Defaults to 1 second.</li></ul> |
| **Returns**                                 | <ul><li>a timer object</li></ul>          |
| **Notes**                                   | <ul><li>The timer is stopped before `actionFn` is called, but the timer is passed as an argument to `actionFn` so that the actionFn may restart the timer to be called again the next time predicateFn returns true.</li><li>See also `hs.timer.waitWhile`, which is essentially the opposite of this function</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/timer.lua line 103](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/timer.lua#L103) |

---

### [waitWhile](#waitwhile)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer.waitWhile(predicateFn, actionFn[, checkInterval]) -> timer`                                                                    |
| **Type**                                    | Constructor                                                                     |
| **Description**                             | Creates and starts a timer which will perform `actionFn` when `predicateFn` returns false.  The timer is automatically stopped when `actionFn` is called.                                                                     |
| **Parameters**                              | <ul><li>predicateFn - a function which determines when `actionFn` should be called.  This function takes no arguments, but should return false when it is time to call `actionFn`.</li><li>actionFn - a function which performs the desired action.  This function may take a single argument, the timer itself.</li><li>checkInterval - an optional parameter indicating how often to repeat the `predicateFn` check. Defaults to 1 second.</li></ul> |
| **Returns**                                 | <ul><li>a timer object</li></ul>          |
| **Notes**                                   | <ul><li>The timer is stopped before `actionFn` is called, but the timer is passed as an argument to `actionFn` so that the actionFn may restart the timer to be called again the next time predicateFn returns false.</li><li>See also `hs.timer.waitUntil`, which is essentially the opposite of this function</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/timer.lua line 176](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/timer.lua#L176) |

---

#### Methods

### [fire](#fire)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer:fire() -> timer`                                                                    |
| **Type**                                    | Method                                                                     |
| **Description**                             | Immediately fires a timer                                                                     |
| **Parameters**                              | <ul><li>None</li></ul> |
| **Returns**                                 | <ul><li>The `hs.timer` object</li></ul>          |
| **Notes**                                   | <ul><li>This cannot be used on a timer which has already stopped running</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/libtimer.m line 336](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/libtimer.m#L336) |

---

### [nextTrigger](#nexttrigger)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer:nextTrigger() -> number`                                                                    |
| **Type**                                    | Method                                                                     |
| **Description**                             | Returns the number of seconds until the timer will next trigger                                                                     |
| **Parameters**                              | <ul><li>None</li></ul> |
| **Returns**                                 | <ul><li>A number containing the number of seconds until the next firing</li></ul>          |
| **Notes**                                   | <ul><li>The return value may be a negative integer in two circumstances:</li><li> Hammerspoon's runloop is backlogged and is catching up on missed timer triggers</li><li> The timer object is not currently running. In this case, the return value of this method is the number of seconds since the last firing (you can check if the timer is running or not, with `hs.timer:running()`</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/libtimer.m line 283](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/libtimer.m#L283) |

---

### [running](#running)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer:running() -> boolean`                                                                    |
| **Type**                                    | Method                                                                     |
| **Description**                             | Returns a boolean indicating whether or not the timer is currently running.                                                                     |
| **Parameters**                              | <ul><li>None</li></ul> |
| **Returns**                                 | <ul><li>A boolean value indicating whether or not the timer is currently running.</li></ul>          |
| **Notes**                                   | None |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/libtimer.m line 264](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/libtimer.m#L264) |

---

### [setNextTrigger](#setnexttrigger)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer:setNextTrigger(seconds) -> timer`                                                                    |
| **Type**                                    | Method                                                                     |
| **Description**                             | Sets the next trigger time of a timer                                                                     |
| **Parameters**                              | <ul><li>seconds - A number of seconds after which to trigger the timer</li></ul> |
| **Returns**                                 | <ul><li>The `hs.timer` object, or nil if an error occurred</li></ul>          |
| **Notes**                                   | <ul><li>If the timer is not already running, this will start it</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/libtimer.m line 307](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/libtimer.m#L307) |

---

### [start](#start)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer:start() -> timer`                                                                    |
| **Type**                                    | Method                                                                     |
| **Description**                             | Starts an `hs.timer` object                                                                     |
| **Parameters**                              | <ul><li>None</li></ul> |
| **Returns**                                 | <ul><li>The `hs.timer` object</li></ul>          |
| **Notes**                                   | <ul><li>The timer will not call the callback immediately, the timer will wait until it fires</li><li>If the callback function results in an error, the timer will be stopped to prevent repeated error notifications (see the `continueOnError` parameter to `hs.timer.new()` to override this)</li></ul> |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/libtimer.m line 179](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/libtimer.m#L179) |

---

### [stop](#stop)

|                                             |                                                                                     |
| --------------------------------------------|-------------------------------------------------------------------------------------|
| **Signature**                               | `hs.timer:stop() -> timer`                                                                    |
| **Type**                                    | Method                                                                     |
| **Description**                             | Stops an `hs.timer` object                                                                     |
| **Parameters**                              | <ul><li>None</li></ul> |
| **Returns**                                 | <ul><li>The `hs.timer` object</li></ul>          |
| **Notes**                                   | None |
| **Examples**                                | None |
| **Source**                                  | [extensions/timer/libtimer.m line 359](https://github.com/CommandPost/CommandPost-App/blob/master/extensions/timer/libtimer.m#L359) |

---

---

<script src="https://giscus.app/client.js"
        data-repo="CommandPost/CommandPost"
        data-repo-id="MDEwOlJlcG9zaXRvcnk3NDY0NTk2NQ=="
        data-category="Website Discussion"
        data-category-id="DIC_kwDOBHMBzc4CXFFA"
        data-mapping="pathname"
        data-strict="0"
        data-reactions-enabled="1"
        data-emit-metadata="0"
        data-input-position="bottom"
        data-theme="dark"
        data-lang="en"
        crossorigin="anonymous"
        async>
</script>
