Nexus API Reference

WorkerStartHandler

Tags
psalm-api

Implemented by user code to set up actors when a worker thread starts. The class name (string) is passed as a thread argument and instantiated fresh in each thread — closures cannot cross thread boundaries in Swoole thread mode.

Table of Contents

Methods

onWorkerStart()  : void

Methods


        
On this page

Search results