using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Teknik.Utilities { public interface IBackgroundTaskQueue { void QueueBackgroundWorkItem(Func workItem); Task> DequeueAsync( CancellationToken cancellationToken); } }