(wangle) Future/Promise detachment
[folly.git] / folly / wangle / Future.h
index fcec435380a8ad49f010411e6ae12fe95eff50a6..e468eebe6cb5c5edea3df2a619199e33b137184e 100644 (file)
@@ -189,6 +189,8 @@ class Future {
   explicit
   Future(statePtr obj) : state_(obj) {}
 
+  void detach();
+
   void throwIfInvalid() const;
 
   friend class Promise<T>;