9template <
typename V,
typename E>
11 static_assert(std::is_copy_constructible_v<Result<V, E>>,
"Cannot split this Result<V, E>");
17template <
typename V,
typename E>
Provides a mechanism to access the result of async operations.
detail::SharedCorePtr< V, E > & GetCore() noexcept
#define YACLIB_ASSERT(cond)
SharedFuture< V, E > Split(FutureBase< V, E > &&future)
void Connect(FutureBase< V, E > &&f, Promise< V, E > &&p)
Contract< V, E > MakeContract()
Creates related future and promise.