Skip to content
Snippets Groups Projects
Unverified Commit 4286656b authored by SKAJohanVenter's avatar SKAJohanVenter
Browse files

SAR-275 Updated docs

parent 57e83a95
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ Simple example: ...@@ -58,7 +58,7 @@ Simple example:
* **is_aborting_event**: can be check periodically to determine whether * **is_aborting_event**: can be check periodically to determine whether
the queue tasks have been aborted to gracefully complete the task in progress. the queue tasks have been aborted to gracefully complete the task in progress.
The thread will stay active and `once is_aborting_event` has been unset, The thread will stay active and once `is_aborting_event` has been unset,
new tasks will be fetched from the queue for execution. new tasks will be fetched from the queue for execution.
.. code-block:: py .. code-block:: py
...@@ -104,7 +104,7 @@ QueueManager ...@@ -104,7 +104,7 @@ QueueManager
The queue manager class manages the queue, workers and the update of properties. The queue manager class manages the queue, workers and the update of properties.
The number of worker threads can be specified. The number of worker threads can be specified.
In the case of no worker threads, tasks that are enqueued will *not* be put on the queue, When `num_workers` is 0, tasks that are enqueued will *not* be put on the queue,
but will simply be executed and thus block until done. No worker threads are started in this case. but will simply be executed and thus block until done. No worker threads are started in this case.
As tasks are taken off the queue and completes, the properties below will be updated. An optional callback As tasks are taken off the queue and completes, the properties below will be updated. An optional callback
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment