using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DG.Kafka.Worker { public interface IWorkerManager { void DoWork(Action doWork); Task DoWorkAsync(Func doWork); } }