Made function async

This commit is contained in:
Thorsten Sommer 2024-10-27 20:18:17 +01:00
parent 6d468d361a
commit 75ec7a2e0f
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -64,7 +64,7 @@ public partial class ContentBlockComponent : ComponentBase
private async Task AfterStreaming() private async Task AfterStreaming()
{ {
// Might be called from a different thread, so we need to invoke the UI thread: // Might be called from a different thread, so we need to invoke the UI thread:
await this.InvokeAsync(() => await this.InvokeAsync(async () =>
{ {
// //
// Issue we try to solve: When the content changes during streaming, // Issue we try to solve: When the content changes during streaming,