Scheduler.queue

Method used to queue the task for later execution.

Will always put the task into the queue, even if there are idle worker fibers. This method is mostly useful when implementing advanced library facilities to ensure that no immediate execution takes place.

Will result in starting the task in the next event loop cycle at the earliest.

Parameters

task Task

derivative from ocean.task.Task defining some application task to execute

Throws

TaskQueueFullException if task queue is at full capacity AND if no custom task_queue_full_cb is set.

Meta