Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Amp
Success
PHP Class Amp\Success
Inheritance:
implements
amp\Promise
ファイルを表示
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