SpawnedFleuryApp class final

A spawned Fleury app and its single live connection.

Properties

hashCode → int
The hash code for this object.
no setterinherited
process → Process
The app subprocess.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
socket → Socket
The app's connection (the render wire). Wrap it in a transport to drive the app, or pump its bytes to a browser.
final

Methods

dispose() → Future<int>
Tears down: cancels stdout/stderr forwarding, signals the process (SIGTERM, then SIGKILL after a grace period), and removes the socket (and its temp dir, if this spawn created it). Idempotent. Returns the process's exit code (or -1 if it cannot be observed), so a caller needn't await process.exitCode itself.
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