Nexus API Reference

WorkerNodePoolSingletonSpawner
in package
implements PoolSingletonSpawner

Read onlyYes
FinalYes
Tags
psalm-api

Adapts WorkerNode::spawn (routes via the consistent hash ring across threads) to nexus-http's PoolSingletonSpawner contract.

Pass to HttpApp::withPoolSingletonSpawner() inside the factory closure to enable pool-singleton actor mode in thread-mode apps.

Table of Contents

Interfaces

PoolSingletonSpawner

Methods

__construct()  : mixed
spawn()  : ActorRef<string|int, object>

Methods


        
On this page

Search results