mirror of
https://github.com/vale981/ray
synced 2025-03-10 13:26:39 -04:00
![]() Getting or creating a named actor is a common pattern, however it is somewhat esoteric in how to achieve this. Add a utility function and test that it doesn't cause any scary error messages. Actor.options(name="my_singleton", get_if_exists=True).remote(args) |
||
---|---|---|
.. | ||
patterns | ||
actor-utils.rst | ||
async_api.rst | ||
concurrency_group_api.rst | ||
fault-tolerance.rst | ||
named-actors.rst | ||
scheduling.rst | ||
task-orders.rst | ||
terminating-actors.rst |