AsyncWorkerLoop class abstract
Persistent Bazel worker loop.
Extend this class and implement the performRequest
method.
- Implemented types
- Implementers
Constructors
- AsyncWorkerLoop({AsyncWorkerConnection? connection})
Properties
- connection → AsyncWorkerConnection
-
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) → Future< WorkResponse> -
Perform a single WorkRequest, and return a
WorkResponse
.override -
run(
) → Future -
Run the worker loop. The returned Future doesn't complete until
connection#readRequest
returnsnull
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited