Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Kraken
_Unit
Promise
_Bridge
DeferredBridge
PHP Class Kraken\_Unit\Promise\_Bridge\DeferredBridge
Inheritance:
implements
Kraken\Promise\DeferredInterface
Mostra file
Open project: kraken-php/framework
Public Methods
Method
Description
__construct
(
callable[]
$callbacks
)
__destruct
( )
cancel
(
$reason
= null )
getPromise
( )
reject
(
$reason
= null )
resolve
(
$value
= null )
Method Details
__construct()
public
method
public
__construct
(
callable[]
$callbacks
)
$callbacks
callable[]
__destruct()
public
method
public
__destruct
( )
cancel()
public
method
public
cancel
(
$reason
= null )
getPromise()
public
method
public
getPromise
( )
reject()
public
method
public
reject
(
$reason
= null )
resolve()
public
method
public
resolve
(
$value
= null )