Nexus API Reference

PerRequestActorScope
in package

FinalYes
Tags
psalm-api

Per-request scope for actors spawned with the PerRequest mode. Lazy: the first spawn() call triggers actor creation; subsequent calls with the same name return the memoized ref. dispose() PoisonPills every spawned actor and is idempotent.

Table of Contents

Methods

__construct()  : mixed
dispose()  : void
hasSpawned()  : bool
spawn()  : ActorRef<string|int, object>

Methods

hasSpawned()

public hasSpawned(string $name) : bool
Parameters
$name : string
Return values
bool

        
On this page

Search results