mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Add API methods to perform requests out-of-queue
This commit is contained in:
@ -191,15 +191,7 @@ namespace osu.Game.Overlays
|
||||
tcs.SetResult(false);
|
||||
};
|
||||
|
||||
try
|
||||
{
|
||||
req.Perform(API);
|
||||
}
|
||||
catch
|
||||
{
|
||||
initialFetchTask = null;
|
||||
tcs.SetResult(false);
|
||||
}
|
||||
await API.PerformAsync(req);
|
||||
|
||||
await tcs.Task;
|
||||
});
|
||||
|
Reference in New Issue
Block a user