Refactoring and prepare for interaction module reconnection
This commit is contained in:
@@ -40,10 +40,11 @@ namespace Example.Backend
|
||||
Console.WriteLine("Waiting canceled");
|
||||
return;
|
||||
}
|
||||
|
||||
Console.WriteLine("Waiting...");
|
||||
await Task.Delay(1000);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Console.WriteLine("Waited until the end");
|
||||
}
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace Example.Backend
|
||||
public class Page : IPage
|
||||
{
|
||||
public string Text;
|
||||
|
||||
public byte[] GetData()
|
||||
{
|
||||
return Encoding.UTF8.GetBytes(Text);
|
||||
|
||||
Reference in New Issue
Block a user