PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\promise\PromiseResolver Class Reference
+ Collaboration diagram for pocketmine\promise\PromiseResolver:

Public Member Functions

 getPromise ()
 
 reject ()
 
 resolve (mixed $value)
 

Detailed Description

@phpstan-template TValue

Definition at line 29 of file PromiseResolver.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\promise\PromiseResolver::__construct ( )

Definition at line 35 of file PromiseResolver.php.

Member Function Documentation

◆ getPromise()

pocketmine\promise\PromiseResolver::getPromise ( )

@phpstan-return Promise<TValue>

Definition at line 71 of file PromiseResolver.php.

◆ reject()

pocketmine\promise\PromiseResolver::reject ( )

Definition at line 56 of file PromiseResolver.php.

◆ resolve()

pocketmine\promise\PromiseResolver::resolve ( mixed $value)

@phpstan-param TValue $value

Definition at line 43 of file PromiseResolver.php.


The documentation for this class was generated from the following file: