namespace Swan.Threading {
///
/// Enumerates the different states in which a worker can be.
///
public enum WorkerState {
///
/// The worker has been created and it is ready to start.
///
Created,
///
/// The worker is running it cycle logic.
///
Running,
///
/// The worker is running its delay logic.
///
Waiting,
///
/// The worker is in the paused or suspended state.
///
Paused,
///
/// The worker is stopped and ready for disposal.
///
Stopped,
}
}