         return subPromise
     }
 
-    
-    /*
-    public func then(
-        onFulfilled: Optional<(value: V) -> Any?> = nil,
-        onRejected: Optional<(reason: NSError) -> Any?> = nil
-        ) -> Promise<Any?>
-    {
-        let subPromise = Promise<Any?>()
-        
-        self.bindCallbacks(
-            fulfillCallback: { (value) -> Void in
-                if let resolution = onFulfilled? {
-                    subPromise.resolve(some: resolution(value: value))
-                }
-                else {
-                    subPromise.onFulfilled(value)
-                }
-            },
-            rejectCallback: { (reason) -> Void in
-                if let rejection = onRejected? {
-                    subPromise.resolve(some: rejection(reason: reason))
-                }
-                else {
-                    subPromise.onRejected(reason)
-                }
-            }
-        );
-        
-        return subPromise
-    }
-    */
     // MARK: - Thenable enhance
     
     public func then(

        self.resolve(thenable: thenable)
    }
    
    
    // MARK: - Private APIs
    

            }
        );
    }
    
    // MARK: - Public APIs
    
