Skip to content

blackbull.server.connection_actor

blackbull.server.connection_actor

Connection Actor — Phase 6 Step 5.

ConnectionActor

Bases: Actor

One per accepted TCP connection.

Detects protocol, spawns the appropriate protocol Actor, and isolates failures so one bad connection cannot affect others.

Supervisor strategy: isolate — ExceptionGroup from the TaskGroup is caught and emitted as a single on_error event; the connection is always closed in finally.