IsolateRoomPool class final

Runs one room per isolate, the scaling unit.

Each entry is a top-level or static function that builds its own transport server, Room, and simulation, then calls RoomLaunch.reportPort. A lobby maps room ids to ports.

Constructors

IsolateRoomPool()

Properties

hashCode int
The hash code for this object.
no setterinherited
rooms Map<String, RoomHandle>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

kill(String roomId) → void
killAll() → void
launch(Future<void> entry(RoomLaunch launch), {required String roomId, int port = 0}) Future<RoomHandle>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited