Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
React
Promise
LazyPromise
otherwise
React\Promise\LazyPromise::otherwise PHP Method
LazyPromise Class Documentation
Datei anzeigen
Open project: reactphp/promise
otherwise()
public
method
public
otherwise
(
callable
$onRejected
)
$onRejected
callable
public function otherwise(callable $onRejected) { return $this->promise()->otherwise($onRejected); }
LazyPromise
__construct
always
cancel
done
otherwise
promise
then