Expose API scheduling internally

This commit is contained in:
Dean Herbert
2018-03-14 11:37:50 +09:00
parent 07642546bb
commit ce2997419a
3 changed files with 5 additions and 3 deletions

View File

@ -14,7 +14,7 @@ namespace osu.Game.Online.API
return request;
}
private void request_Progress(long current, long total) => Progress?.Invoke(current, total);
private void request_Progress(long current, long total) => API.Schedule(() => Progress?.Invoke(current, total));
protected APIDownloadRequest()
{