Skip to content

Commit

Permalink
[FIX] Removed SingleTaskRunner and backend.spawn_task() to add Cancel…
Browse files Browse the repository at this point in the history
…Scope
  • Loading branch information
francis-clairicia committed Sep 24, 2023
1 parent 4960cbc commit 221bc84
Show file tree
Hide file tree
Showing 18 changed files with 730 additions and 941 deletions.
22 changes: 3 additions & 19 deletions docs/source/api/async/backend.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,11 @@ Creating Concurrent Tasks
.. autoclass:: Task
:members:

Spawning System Tasks
"""""""""""""""""""""

.. automethod:: AsyncBackend.spawn_task

.. autoclass:: SystemTask
:members:

Timeouts
^^^^^^^^

.. automethod:: AsyncBackend.open_cancel_scope

.. automethod:: AsyncBackend.move_on_after

.. automethod:: AsyncBackend.move_on_at
Expand All @@ -91,7 +85,7 @@ Timeouts

.. automethod:: AsyncBackend.timeout_at

.. autoclass:: TimeoutHandle
.. autoclass:: CancelScope
:members:

Networking
Expand Down Expand Up @@ -205,16 +199,6 @@ Backend Factory
:exclude-members: GROUP_NAME


Tasks Utilities
===============

.. automodule:: easynetwork.api_async.backend.tasks
:no-docstring:

.. autoclass:: SingleTaskRunner
:members:


Concurrency And Multithreading (``concurrent.futures`` Integration)
===================================================================

Expand Down
Loading

0 comments on commit 221bc84

Please sign in to comment.