BuildDaemonClient class

A client of the build daemon.

Handles starting and connecting to the build daemon.

Example: https://pub.dartlang.org/packages/build_daemon#-example-tab-

Properties

buildResults → Stream<BuildResults>
read-only
finished → Future<void>
read-only
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

close() → Future<void>
registerBuildTarget(BuildTarget target) → void
Registers a build target to be built upon any file change.
startBuild() → void
Builds all registered targets, including those not from this client. [...]
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

connect(String workingDirectory, List<String> daemonCommand, { Serializers serializersOverride, void logHandler(ServerLog), bool includeParentEnvironment, Map<String, String> environment }) → Future<BuildDaemonClient>
Connects to the current daemon instance. [...]