Promise.then method then(self, on_fulfilled: object, on_rejected: object) -> Promise[_S]: Parameters on_fulfilled: object on_rejected: object Returns Promise[_S]