Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Amp
Internal
Placeholder
PHP Trait Amp\Internal\Placeholder
Mostrar archivo
Open project: amphp/amp
Public Methods
Method
Description
when
(
callable
$onResolved
)
Private Methods
Method
Description
fail
(
Throwable
$reason
)
resolve
(
mixed
$value
= null )
Method Details
when()
public
method
See also:
Interop\Async\Promise::when()
public
when
(
callable
$onResolved
)
$onResolved
callable