PHP Class Future, zys

Afficher le fichier Open project: qieangel2013/zys Class Usage Examples

Méthodes publiques

Свойство Type Description
$reason
$state
$value

Méthodes publiques

Méthode Description
__call ( $method, $args )
__construct ( $computation = NULL )
__get ( $key )
always ( $oncomplete )
catchError ( $onreject, $test = NULL )
complete ( $oncomplete )
done ( $onfulfill, $onreject = NULL )
each ( $callback )
every ( $callback )
fail ( $onreject )
fill ( $future )
filter ( $callback, $preserveKeys = false )
includes ( $searchElement, $strict = false )
inspect ( )
map ( $callback )
reduce ( $callback, $initial = NULL )
reject ( $reason )
resolve ( $value )
search ( $searchElement, $strict = false )
some ( $callback )
spread ( $onfulfilledArray )
tap ( $onfulfilledSideEffect )
then ( $onfulfill, $onreject = NULL )
whenComplete ( $action )

Private Methods

Méthode Description
privateCall ( $callback, $next, $x )
privateReject ( $onreject, $next, $e )
privateResolve ( $onfulfill, $next, $x )

Method Details

__call() public méthode

public __call ( $method, $args )

__construct() public méthode

public __construct ( $computation = NULL )

__get() public méthode

public __get ( $key )

always() public méthode

public always ( $oncomplete )

catchError() public méthode

public catchError ( $onreject, $test = NULL )

complete() public méthode

public complete ( $oncomplete )

done() public méthode

public done ( $onfulfill, $onreject = NULL )

each() public méthode

public each ( $callback )

every() public méthode

public every ( $callback )

fail() public méthode

public fail ( $onreject )

fill() public méthode

public fill ( $future )

filter() public méthode

public filter ( $callback, $preserveKeys = false )

includes() public méthode

public includes ( $searchElement, $strict = false )

inspect() public méthode

public inspect ( )

map() public méthode

public map ( $callback )

reduce() public méthode

public reduce ( $callback, $initial = NULL )

reject() public méthode

public reject ( $reason )

resolve() public méthode

public resolve ( $value )

some() public méthode

public some ( $callback )

spread() public méthode

public spread ( $onfulfilledArray )

tap() public méthode

public tap ( $onfulfilledSideEffect )

then() public méthode

public then ( $onfulfill, $onreject = NULL )

whenComplete() public méthode

public whenComplete ( $action )

Property Details

$reason public_oe property

public $reason

$state public_oe property

public $state

$value public_oe property

public $value