Nexus API Reference

WorkerDirectory

Tags
psalm-api

Maps actor paths to worker IDs within a local worker pool.

Table of Contents

Methods

has()  : bool
lookup()  : int|null
register()  : void

Methods

has()

public has(string $path) : bool
Parameters
$path : string
Return values
bool

lookup()

public lookup(string $path) : int|null
Parameters
$path : string
Return values
int|null

register()

public register(string $path, int $workerId) : void
Parameters
$path : string
$workerId : int

        
On this page

Search results