BazelWorkerDriver class
A driver for talking to a bazel worker.
This allows you to use any binary that supports the bazel worker protocol in the same way that bazel would, but from another dart process instead.
Constructors
- BazelWorkerDriver(SpawnWorker _spawnWorker, {int? maxIdleWorkers, int? maxWorkers, int? maxRetries})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
doWork(
WorkRequest request, {void trackWork(Future< WorkResponse?> )?}) → Future<WorkResponse> - Waits for an available worker, and then sends WorkRequest to it.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
terminateWorkers(
) → Future -
Calls
kill
on all worker processes. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited