mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-05-02 20:19:47 +00:00
Made function async
This commit is contained in:
parent
6d468d361a
commit
75ec7a2e0f
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user