Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
React
Promise
Deferred
PHP Class React\Promise\Deferred
Inheritance:
implements
React\Promise\PromisorInterface
Afficher le fichier
Open project: reactphp/promise
Class Usage Examples
Méthodes publiques
Méthode
Description
__construct
(
callable
$canceller
= null )
promise
( )
reject
(
$reason
= null )
resolve
(
$value
= null )
Method Details
__construct()
public
méthode
public
__construct
(
callable
$canceller
= null )
$canceller
callable
promise()
public
méthode
public
promise
( )
reject()
public
méthode
public
reject
(
$reason
= null )
resolve()
public
méthode
public
resolve
(
$value
= null )