Runner class

A command-line utility for easier running of multiple instances of an Angel application.

Makes it easy to do things like configure SSL, log messages, and send messages between all running instances.

Constructors

Runner(String name, AngelConfigurer configureServer, {Reflector reflector: const EmptyReflector()})

Properties

configureServer AngelConfigurer
final
name → String
final
reflector Reflector
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

run(List<String> args) → Future
Starts a number of isolates, running identical instances of an Angel application.
spawnIsolate(int id, RunnerOptions options, SendPort pubSubSendPort) → Future
Spawns a new instance of the application in a separate isolate. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Methods

chooseLogColor(Level level) AnsiCode
Chooses a color based on the logger level.
handleLogRecord(LogRecord record, RunnerOptions options) → void
isolateMain(_RunnerArgsWithId argsWithId) → void

Constants

asciiArt → const String
''' ____________ ________________________ ___ |__ | / /_ ____/__ ____/__ / __ /| |_ |/ /_ / __ __ __/ __ / _ ___ | /| …