пример работает

This commit is contained in:
2025-02-06 09:18:52 +03:00
parent 71e92f0301
commit 0b455b8dd8
11 changed files with 50 additions and 43 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ public class Printer : IPrinter
return Name;
}
public async Task<TransmittedSharedObject<IPage>> Print(string text)
public async Task<TransmittedSharedObject<IPage>> Print(string text, CancellationToken cancellationToken = default)
{
return new Page {Text = text};
}