Futures class and related functions


  • async

    Run a function on a specified executor

    (template function)
  • blocking_get

    Waits until the future is ready

    (template function)
  • future

    An alternative future implementation with support for continuations, splits, and joins

    (template class)
  • make_exceptional_future

    Creates a future that is fulfilled as failed

    (template function)
  • make_ready_future

    Creates a future that is already fulfilled

    (template function)
  • package

    Create a packaged_task/future pair

    (template function)
  • when_all

    Creates a joining future

    (template function)
  • when_any

    Creates a future that continues on the first success of any futures passed

    (template function)