UDPClusterManager.(constructor)
Creates the manager and starts listening for broadcasts immediately, joining an existing worker when another manager already uses the same broadcast settings.
Signature:
constructor(options?: Partial<UDPClusterManagerOptions>);
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
options |
Partial<UDPClusterManagerOptions> |
(Optional) partial options merged over DEFAULT_UDP_CLUSTER_MANAGER_OPTIONS |
Remarks
The merge is a plain shallow spread, so passing an explicit undefined overrides a default rather than falling back to it — pass only the properties you mean to change.
Broadcast listening begins before any cluster is registered, so register yours with ClusterManager.init() right away: announcements that arrive in the meantime are discarded. When UDPClusterManagerOptions.handleSignals is enabled, this also installs process-wide signal handlers.
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.