forked from goodboy/tractor
Fix run_in_excutor() link
parent
19349f8cff
commit
5e5c917081
|
@ -193,7 +193,7 @@ What's going on?
|
||||||
much like you'd expect from a future_.
|
much like you'd expect from a future_.
|
||||||
|
|
||||||
This ``run_in_actor()`` API should look very familiar to users of
|
This ``run_in_actor()`` API should look very familiar to users of
|
||||||
``asyncio``'s run_in_executor_ which uses a ``concurrent.futures`` Executor_.
|
``asyncio``'s `run_in_executor()`_ which uses a ``concurrent.futures`` Executor_.
|
||||||
|
|
||||||
Since you might also want to spawn long running *worker* or *daemon*
|
Since you might also want to spawn long running *worker* or *daemon*
|
||||||
actors, each actor's *lifetime* can be determined based on the spawn
|
actors, each actor's *lifetime* can be determined based on the spawn
|
||||||
|
@ -258,7 +258,7 @@ to all others with ease over standard network protocols).
|
||||||
.. _nursery: https://trio.readthedocs.io/en/latest/reference-core.html#nurseries-and-spawning
|
.. _nursery: https://trio.readthedocs.io/en/latest/reference-core.html#nurseries-and-spawning
|
||||||
.. _causal: https://vorpus.org/blog/some-thoughts-on-asynchronous-api-design-in-a-post-asyncawait-world/#causality
|
.. _causal: https://vorpus.org/blog/some-thoughts-on-asynchronous-api-design-in-a-post-asyncawait-world/#causality
|
||||||
.. _cancelled: https://trio.readthedocs.io/en/latest/reference-core.html#child-tasks-and-cancellation
|
.. _cancelled: https://trio.readthedocs.io/en/latest/reference-core.html#child-tasks-and-cancellation
|
||||||
.. _run_in_executor: https://docs.python.org/3/library/asyncio-eventloop.html#executor
|
.. _run_in_executor(): https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.run_in_executor
|
||||||
.. _Executor: https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.Executor
|
.. _Executor: https://docs.python.org/3/library/concurrent.futures.html#concurrent.futures.Executor
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue