SpicyPixel.Threading.Tasks.FiberTaskScheduler.QueueTask C# (CSharp) Method

QueueTask() protected method

Queues a non-blocking task.
If the task is queued from the scheduler thread it will begin executing to its first yield immediately.
protected QueueTask ( Task task ) : void
task Task /// The non-blocking task to queue. ///
return void
        protected internal override void QueueTask(Task task)
        {
            // Start a fiber to run the task
            Fiber.Factory.StartNew(ExecuteTask(task), scheduler);
        }