core_->setResult(Try<T>(e));
}
+template <class T>
+void Promise<T>::setInterruptHandler(
+ std::function<void(std::exception_ptr const&)> fn) {
+ core_->setInterruptHandler(std::move(fn));
+}
+
template <class T>
void Promise<T>::fulfilTry(Try<T>&& t) {
throwIfFulfilled();