Closed roflmuffin closed 5 months ago
Adds RunOnTick and RunOnTickAsync methods which allow you to queue a task for a specific game frame. Closes #367
RunOnTick
RunOnTickAsync
Example usage:
Server.RunOnTick(Server.TickCount + 64, () => Console.WriteLine("Hello World"));
The async overload simply returns a Task which can be awaited which resolves once the callback has executed.
Task
Adds
RunOnTick
andRunOnTickAsync
methods which allow you to queue a task for a specific game frame. Closes #367Example usage:
The async overload simply returns a
Task
which can be awaited which resolves once the callback has executed.