Download rework (#36)

* handle download ready from signalr

* add cancellation to the server

* adjust queue for removal and cancellation

* adjust api to main

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
This commit is contained in:
rootdarkarchon
2023-01-15 16:00:10 +01:00
committed by GitHub
parent f5f9b9c6fc
commit 5a16a15e8b
6 changed files with 74 additions and 72 deletions

View File

@@ -299,6 +299,7 @@ public partial class ApiController : IDisposable, IMareHubClient
OnUserReceiveCharacterData((dto, ident) => Client_UserReceiveCharacterData(dto, ident));
OnGroupChange(async (dto) => await Client_GroupChange(dto).ConfigureAwait(false));
OnGroupUserChange((dto) => Client_GroupUserChange(dto));
OnDownloadReady((guid) => Client_DownloadReady(guid));
OnAdminForcedReconnect(() => Client_AdminForcedReconnect());