Skip to content

CompressBatchPromise ​

class · pocketmine\network\mcpe\compression\CompressBatchPromise · source

Methods ​

cancel() ​

php
public function cancel() : void

getResolveCallbacks() ​

php
public function getResolveCallbacks() : array

getResult() ​

php
public function getResult() : string

hasResult() ​

php
public function hasResult() : bool

isCancelled() ​

php
public function isCancelled() : bool

onResolve() ​

php
public function onResolve(\Closure ...$callbacks) : void

resolve() ​

php
public function resolve(string $result) : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.