mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 16:17:59 +00:00
Made function async
This commit is contained in:
1 file changed
+1
-1
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user