Compartilhar via


completion_future::then Method

Chains a callback function object to the completion_future object to be executed when the associated asynchronous operation finishes execution.

template <
   typename _Functor
>
void then(
   const _Functor &_Func
) const;

Parameters

  • _Functor
    The callback functor.

  • _Func
    The callback function object.

Requirements

Header: amprt.h

Namespace: concurrency

See Also

Reference

completion_future Class