Programmer Reference : Asynchronous Programming : EsAsyncTaskProcessQueueScheduler
EsAsyncTaskProcessQueueScheduler
Description
An async task scheduler that uses the Smalltalk ProcessorScheduler priority queues to implement the scheduling algorithm for the async constructs.
Class Methods
None
Instance Methods
<details> scheduleTask:at:
<pre><code> Schedule @aBlock to run async in a coordinated fashion with other scheduled tasks.
We want to guarantee that the submissions of tasks
are executed in the order in which they were submitted.
For this, we use the ProcessScheduler queue to help maintain
that order. Rather than a normal 'fork' of the submission block,
which places it at the front of the queue...we instead call #addToReadyLast:
to ensure the submissions line up in a queue like fashion.

Arguments:
aBlock - <Block>
Raises:
<EsAsyncScheduleTaskError>
</code></pre> </details>
Last modified date: 04/21/2022