3#include <yaclib/config.hpp>
11template <
typename Func>
15 using Invoke = std::conditional_t<std::is_function_v<std::remove_reference_t<Func>>,
Storage,
Func>;
std::decay_t< Func > Storage
YACLIB_NO_UNIQUE_ADDRESS State _func
std::conditional_t< std::is_function_v< std::remove_reference_t< Func > >, Storage, Func > Invoke
Contract< V, E > MakeContract()
Creates related future and promise.
YACLIB_NO_UNIQUE_ADDRESS Unit stub
YACLIB_NO_UNIQUE_ADDRESS Storage storage