SpicyPixel.Threading.Tasks.FiberTaskScheduler.QueueTask C# (CSharp) Méthode

QueueTask() protected méthode

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. ///
Résultat void
        protected internal override void QueueTask(Task task)
        {
            // Start a fiber to run the task
            Fiber.Factory.StartNew(ExecuteTask(task), scheduler);
        }