/// handled.
void setInterruptHandler(std::function<void(exception_wrapper const&)>);
- /// Fulfill this SharedPromise<void>
- template <class B = T>
- typename std::enable_if<std::is_void<B>::value, void>::type
- setValue() {
- setTry(Try<T>());
- }
-
/// Sugar to fulfill this SharedPromise<Unit>
template <class B = T>
typename std::enable_if<std::is_same<Unit, B>::value, void>::type