Cbor bug fixes
This commit is contained in:
@@ -13,6 +13,11 @@ namespace Example.Frontend
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
public Task SetFingerPrint(int[] fingerPrint)
|
||||
{
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
||||
public void OnPrintExternal(IPage p0, RequestContext ro)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -51,6 +51,11 @@ class Program
|
||||
|
||||
using (var disposingPrinter = factory.Create("Test"))
|
||||
{
|
||||
disposingPrinter.SetFingerPrint(new[] { 1, 2, 3 }).ContinueWith(r =>
|
||||
{
|
||||
Console.WriteLine(r.Status);
|
||||
});
|
||||
|
||||
DemoCheck.CreatingPrinter = true;
|
||||
disposingPrinter.OnPrint += (_, _) =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user