Refactor vault (#6678)

* Use Blazor for the Vault code

* Put elements in different file

* Controller abstraction

* Break into VaultElement
This commit is contained in:
Nicolas Dorier
2025-04-21 17:09:46 +09:00
committed by GitHub
parent ec603a3804
commit 2f26979ed7
46 changed files with 1367 additions and 1865 deletions

View File

@@ -1019,7 +1019,7 @@ namespace BTCPayServer.Controllers
leases.Add(_EventAggregator.SubscribeAsync<Events.InvoiceEvent>(async o => await NotifySocket(webSocket, o.Invoice.Id, invoiceId)));
while (true)
{
var message = await webSocket.ReceiveAndPingAsync(DummyBuffer);
var message = await webSocket.ReceiveAndPingAsync(DummyBuffer, cancellationToken);
if (message.MessageType == WebSocketMessageType.Close)
break;
}