
..
    Copyright (C) 2022-2026 Dimitra Karatza
    Copyright (C) 2022-2026 The STE||AR Group

    SPDX-License-Identifier: BSL-1.0
    Distributed under the Boost Software License, Version 1.0. (See accompanying
    file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

.. _modules_async_hpx_async_distributed_api:

------------------------
hpx::async (distributed)
------------------------

Defined in header hpx/async.hpp.

See :ref:`public_api` for a list of names and headers that are part of the public
|hpx| API.


.. seealso::
   :hpx:func:`hpx::async`

.. doxygenfunction:: hpx::async(F &&f, Ts &&... ts)
   :project: hpx
.. doxygenfunction:: hpx::async(F &&f, Ts &&... ts) -> decltype(detail::async_action_dispatch< Action, std::decay_t< F >>::call(HPX_FORWARD(F, f), HPX_FORWARD(Ts, ts)...))
   :project: hpx
.. doxygenfunction:: hpx::async(Executor &&exec, hpx::sycl::experimental::sycl_executor::queue_function_ptr_t< Ts... > &&f, Ts &&... ts)
   :project: hpx
.. doxygenfunction:: hpx::async(Action &&action, Target &&target, Ts &&... ts)
   :project: hpx
