PocketMine-MP 5.15.1 git-5ef247620a7c6301a849b54e5ef1009217729fc8
pocketmine\scheduler\AsyncPoolWorkerEntry Class Reference
+ Collaboration diagram for pocketmine\scheduler\AsyncPoolWorkerEntry:

Public Member Functions

 __construct (public readonly AsyncWorker $worker, public readonly int $sleeperNotifierId)
 
 submit (AsyncTask $task)
 

Public Attributes

int $lastUsed
 
SplQueue $tasks
 

Detailed Description

Definition at line 31 of file AsyncPoolWorkerEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\scheduler\AsyncPoolWorkerEntry::__construct ( public readonly AsyncWorker  $worker,
public readonly int  $sleeperNotifierId 
)

Definition at line 40 of file AsyncPoolWorkerEntry.php.

Member Function Documentation

◆ submit()

pocketmine\scheduler\AsyncPoolWorkerEntry::submit ( AsyncTask  $task)

Definition at line 48 of file AsyncPoolWorkerEntry.php.

Member Data Documentation

◆ $lastUsed

int pocketmine\scheduler\AsyncPoolWorkerEntry::$lastUsed

Definition at line 33 of file AsyncPoolWorkerEntry.php.

◆ $tasks

SplQueue pocketmine\scheduler\AsyncPoolWorkerEntry::$tasks

Definition at line 38 of file AsyncPoolWorkerEntry.php.


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