2023-07-29 23:37:10 +05:30

27 lines
490 B
C#

using System;
using System.Collections.Generic;
using MessagePackLib.MessagePack;
namespace Server.Helper;
public class AsyncTask
{
public MsgPack msgPack;
public string id;
public List<string> doneClient;
public string title { get; set; }
public string cnt => $"{doneClient.Count}";
public AsyncTask(MsgPack _msgPack, string _title)
{
msgPack = _msgPack;
id = Guid.NewGuid().ToString();
doneClient = new List<string>();
title = _title;
}
}