namespace Unosquare.Swan.Abstractions
{
///
/// A simple interface for application workers.
///
public interface IWorker
{
///
/// Should start the task immediately and asynchronously.
///
void Start();
///
/// Should stop the task immediately and synchronously.
///
void Stop();
}
}