ServerIsolates class final

A cluster of isolates all serving one port.

Each isolate is a separate heap with its own router. This is not a thread pool, and nothing is shared between them; see serveIsolates.

Properties

address → InternetAddress
The address every isolate bound to.
final
alive → int
How many are still running.
no setter
hashCode → int
The hash code for this object.
no setterinherited
port → int
The port every isolate shares.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → int
How many isolates were started.
no setter

Methods

close({Duration drain = const Duration(seconds: 30)}) → Future<void>
Stops every isolate, draining what each has in flight.
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