mirror of
https://github.com/osukey/osukey.git
synced 2025-05-16 02:57:32 +09: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 readonly object currentTaskLock = new object();
|
||||||
private Task? currentTask;
|
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)
|
public Task Add(Func<Task> taskFunc)
|
||||||
{
|
{
|
||||||
lock (currentTaskLock)
|
lock (currentTaskLock)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user