Nucleus .Net Core CMS

Models.TaskScheduler.RunningTaskQueue Class

Namespace: Nucleus.Abstractions.Models.TaskScheduler
Assembly: Nucleus.Abstractions.dll
Represents a collection of running tasks


Contains (ScheduledTask) Method

Contains (ScheduledTask task)
Returns whether the scheduled task is in the queue.

Add (ScheduledTask,ScheduledTaskHistory) Method

Add (ScheduledTask task, ScheduledTaskHistory history)
Create a new RunningTask object, add it to the queue and return it.

Remove (ScheduledTask) Method

Remove (ScheduledTask task)
Removes a scheduled task from the queue.


ToList ()
Returns a list of running tasks.