Nexus API Reference

ChannelActorRegistry
in package

FinalYes
Tags
psalm-api

Spawns and caches one channel actor per stable name. Cached refs are validated against isAlive() on every lookup, so a channel actor that stopped itself (e.g. after the last WS connection closed) is silently pruned and the next connect spawns a fresh one — no per-game leak. Used by WebSocketDispatcher; not part of the user-facing API.

Table of Contents

Methods

__construct()  : mixed
remove()  : void
resolveOrSpawn()  : ActorRef

Methods


        
On this page

Search results