WorkerLoop class abstract

Interface for a WorkerLoop.

This interface should not generally be implemented directly, instead use the SyncWorkerLoop or AsyncWorkerLoop implementations.

Implementers

Constructors

WorkerLoop()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
performRequest(WorkRequest request) → dynamic
Perform a single WorkRequest, and return either a WorkResponse or a Future<WorkResponse>.
run() → dynamic
Run the worker loop. Should return either a Future or null.
toString() String
A string representation of this object.
inherited

Operators

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