Nexus API Reference

WorkerPoolHandle
in package

Read onlyYes
FinalYes
Tags
psalm-api

Handle passed to the onStart callback. Gives the main thread access to the running worker pool for message injection, monitoring, and graceful stop.

Table of Contents

Methods

__construct()  : mixed
directory()  : Map
queues()  : array<int, Queue>
stop()  : void
workerCount()  : int

Methods

__construct()

public __construct(int $workerCount, array<int, Queue$queues, Map $directory, Atomic $stopSignal) : mixed
Parameters
$workerCount : int
$queues : array<int, Queue>
$directory : Map
$stopSignal : Atomic

queues()

public queues() : array<int, Queue>
Return values
array<int, Queue>

        
On this page

Search results