PHP Class pthreads\Thenable

Inheritance: extends Promisable, implements pthreads\IThenable
Afficher le fichier Open project: krakjoe/promises

Protected Properties

Свойство Type Description
$promise

Méthodes publiques

Méthode Description
__construct ( Promise $promise )
getPromise ( )
onError ( Promisable $promised )
onFulfilled ( Promisable $promised )
run ( )

Method Details

__construct() public méthode

public __construct ( Promise $promise )
$promise Promise

getPromise() public méthode

public getPromise ( )

onError() public méthode

public onError ( Promisable $promised )
$promised Promisable

onFulfilled() public méthode

public onFulfilled ( Promisable $promised )
$promised Promisable

run() public méthode

public run ( )

Property Details

$promise protected_oe property

protected $promise