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