Daemon class Null safety

The long running daemon process.

Obtains a file lock to ensure a single instance and writes various status files to be used by clients for connection.

Also starts a Server to listen for build target registration and event notification.

Constructors

Daemon(String workingDirectory)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
hasLock bool
read-only
onDone Future<void>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

currentOptions() Future<Set<String>>
Returns the current options of the running build daemon.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
runningVersion() Future<String?>
Returns the current version of the running build daemon.
start(Set<String> options, DaemonBuilder builder, ChangeProvider changeProvider, {Serializers? serializersOverride, bool shouldBuild(BuildTarget, Iterable<WatchEvent>)?, Duration timeout = const Duration(seconds: 30)}) Future<void>
stop({String message = '', int failureType = 0}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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