Skip to content

Commit

Permalink
Minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Emil Koutanov committed Jan 28, 2024
1 parent 7fad999 commit 6ab4e89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Actors/Troupe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ public Task DrainAny()
return Task.WhenAny(DrainTasks());
}

private Task[] DrainTasks()
private IEnumerable<Task> DrainTasks()
{
return members.Select(x => x.Drain()).ToArray();
return members.Select(member => member.Drain());
}

public static Troupe Of(IEnumerable<ISchedulable> members)
Expand Down

0 comments on commit 6ab4e89

Please sign in to comment.