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
Amp
Success
PHP Class Amp\Success
Inheritance:
implements
amp\Promise
Datei anzeigen
Open project: amphp/amp
Public Methods
Method
Description
__construct
(
mixed
$value
= null )
subscribe
(
callable
$onNext
)
when
(
callable
$onResolved
)
Method Details
__construct()
public
method
public
__construct
(
mixed
$value
= null )
$value
mixed
Anything other than an Promise object.
subscribe()
public
method
public
subscribe
(
callable
$onNext
)
$onNext
callable
when()
public
method
public
when
(
callable
$onResolved
)
$onResolved
callable