# TimedSignalMapAPI (widget methods): World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/TimedSignalMapAPI

## Functions

### CancelAllSignals

```lua
self:CancelAllSignals()
```

Cancels all scheduled signals.

### CancelSignal

```lua
self:CancelSignal(key)
```

Cancels the scheduled signal for the specified key, if one exists.

Arguments:
- `key`: number. Key to cancel. No effect if the key is not scheduled.

### GetNextSignal

```lua
key, time = self:GetNextSignal()
```

Returns the next key due to signal along with its scheduled time.

Returns:
- `key`: number. The key that has been scheduled.
- `time`: FrameTime. Absolute time, on the same clock as GetTime(), at which the key is scheduled to signal.

### GetSignalCount

```lua
count = self:GetSignalCount()
```

Returns the number of keys currently scheduled to signal.

Returns:
- `count`: size. Count of scheduled keys.

### GetSignalTime

```lua
time = self:GetSignalTime(key)
```

Returns the absolute time at which the specified key is scheduled to signal.

Arguments:
- `key`: number. Key to query.

Returns:
- `time`: FrameTime, may be nil. Absolute time the key will signal; nil if not scheduled.

### HasSignal

```lua
hasSignal = self:HasSignal(key)
```

Returns whether the specified key is currently scheduled to signal.

Arguments:
- `key`: number. Key to test.

Returns:
- `hasSignal`: bool. True if the key is scheduled to signal.

### SignalAfter

```lua
self:SignalAfter(key, secondsFromNow)
```

Schedules the specified key to signal after a delay from the current time, replacing any existing schedule for that key.

Arguments:
- `key`: number. Key to signal. Re-scheduling an existing key replaces its time.
- `secondsFromNow`: Seconds. Delay in seconds from now, converted to an absolute time when scheduled.

### SignalAt

```lua
self:SignalAt(key, time)
```

Schedules the specified key to signal at an absolute time, replacing any existing schedule for that key.

Arguments:
- `key`: number. Key to signal. Re-scheduling an existing key replaces its time.
- `time`: FrameTime. Absolute time at which to signal, on the same clock as GetTime().

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
