示例#1
0
 private static void LastDataInsert(CancellationToken token, QueueWriter writer)
 {
     token.Register(() =>
     {
         writer.WriteToDbAsync(true).GetAwaiter().GetResult();
     });
 }