Documentation

Promise
in package

Tags
phpstan-template

TValue

Table of Contents

$shared  : PromiseSharedData
isResolved()  : bool
onCompletion()  : void

Properties

$shared

private PromiseSharedData $shared

Methods

isResolved()

public isResolved() : bool
Return values
bool

onCompletion()

public onCompletion(Closure $onSuccess, Closure $onFailure) : void
Parameters
$onSuccess : Closure
$onFailure : Closure
Tags
phpstan-param

\Closure(TValue) : void $onSuccess

phpstan-param

\Closure() : void $onFailure

Return values
void

Search results