public function then(callable $onFulfilled = null, callable $onRejected = null, callable $onCancel = null);