mirror of
https://github.com/ppy/osu
synced 2025-02-22 21:47:12 +00:00
Add xmldoc
This commit is contained in:
parent
bb44fcfe31
commit
c17774e23c
@ -16,6 +16,11 @@ namespace osu.Game.Utils
|
||||
private readonly object currentTaskLock = new object();
|
||||
private Task? currentTask;
|
||||
|
||||
/// <summary>
|
||||
/// Adds a new task to the end of this <see cref="TaskChain"/>.
|
||||
/// </summary>
|
||||
/// <param name="taskFunc">The task creation function.</param>
|
||||
/// <returns>The awaitable <see cref="Task"/>.</returns>
|
||||
public Task Add(Func<Task> taskFunc)
|
||||
{
|
||||
lock (currentTaskLock)
|
||||
|
Loading…
Reference in New Issue
Block a user