PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
pocketmine\network\mcpe\compression\CompressBatchPromise Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\compression\CompressBatchPromise:

Public Member Functions

 cancel ()
 
 getResolveCallbacks ()
 
 getResult ()
 
 hasResult ()
 
 isCancelled ()
 
 onResolve (\Closure ... $callbacks)
 
 resolve (string $result)
 

Detailed Description

Definition at line 28 of file CompressBatchPromise.php.

Member Function Documentation

◆ cancel()

pocketmine\network\mcpe\compression\CompressBatchPromise::cancel ( )

Definition at line 90 of file CompressBatchPromise.php.

◆ getResolveCallbacks()

pocketmine\network\mcpe\compression\CompressBatchPromise::getResolveCallbacks ( )
Returns
\Closure[] @phpstan-return (\Closure(self) : void)[]

Definition at line 70 of file CompressBatchPromise.php.

◆ getResult()

pocketmine\network\mcpe\compression\CompressBatchPromise::getResult ( )

Definition at line 74 of file CompressBatchPromise.php.

◆ hasResult()

pocketmine\network\mcpe\compression\CompressBatchPromise::hasResult ( )

Definition at line 82 of file CompressBatchPromise.php.

◆ isCancelled()

pocketmine\network\mcpe\compression\CompressBatchPromise::isCancelled ( )

Definition at line 86 of file CompressBatchPromise.php.

◆ onResolve()

pocketmine\network\mcpe\compression\CompressBatchPromise::onResolve ( \Closure ...  $callbacks)

@phpstan-param \Closure(self) : void ...$callbacks

Definition at line 42 of file CompressBatchPromise.php.

◆ resolve()

pocketmine\network\mcpe\compression\CompressBatchPromise::resolve ( string  $result)

Definition at line 53 of file CompressBatchPromise.php.


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