use extension members

This commit is contained in:
Matt Parker
2025-09-10 21:49:49 +10:00
parent d338407049
commit ced29e7152
7 changed files with 69 additions and 63 deletions

View File

@@ -25,7 +25,7 @@ public partial class RunPanelTab : Control
GD.PrintErr("Attempted to start writing from project output, but a write task is already running.");
return;
}
_writeTask = GodotTask.Run(async () =>
_writeTask = Task.GodotRun(async () =>
{
await foreach (var array in Project.RunningOutputChannel!.Reader.ReadAllAsync().ConfigureAwait(false))
{