SyncWorkerLoop class abstract
Persistent Bazel worker loop.
Extend this class and implement the performRequest
method.
- Implemented types
- Implementers
Constructors
- SyncWorkerLoop({SyncWorkerConnection? connection})
Properties
- connection → SyncWorkerConnection
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performRequest(
WorkRequest request) → WorkResponse -
Perform a single WorkRequest, and return a WorkResponse.
override
-
run(
) → void -
Run the worker loop. Blocks until
connection#readRequest
returnsnull
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited