/** * @param callable $onFulfilled * @param callable $onRejected * * @return Promise */ public function then(callable $onFulfilled = null, callable $onRejected = null) { return $this->state->then($onFulfilled, $onRejected); }
/** * @param callable $onFulfilled * @param callable $onRejected * * @return Promise */ public function then(callable $onFulfilled = null, callable $onRejected = null) { return $this->state->then($onFulfilled, $onRejected); }