Scheduler and threading
Delayed, repeating and cross-thread tasks, tick awaitables and the tick-thread check.
| Type | Kind | Description |
|---|---|---|
ScheduledTask |
class | A scheduled task. |
Scheduler |
class | Tick-based scheduling (20 ticks = 1 second) and the bridge between the tick thread and worker threads. |
TickAwaitable |
struct | The awaitable returned by Scheduler.ToTick / Scheduler.ToAsync. |
WrongThreadException |
class | A game-facing API was called from a thread other than the server tick thread. |