PocketMine-MP 5.21.3 git-fcef015f32c0b0709cfd4d6f1b3c32f484b25bde
Loading...
Searching...
No Matches
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: