AsyncWorkerConnection class abstract
- Implemented types
- Implementers
Constructors
-
AsyncWorkerConnection.new({Stream<
List< ? inputStream, StreamSink<int> >List< ? outputStream, SendPort? sendPort})int> > -
Creates a StdAsyncWorkerConnection with the specified
inputStream
andoutputStream
, unlesssendPort
is specified, in which case creates a SendPortAsyncWorkerConnection.factory
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
-
readRequest(
) → Future< WorkRequest?> -
Reads a WorkRequest or returns
null
if there are none left.override -
toString(
) → String -
A string representation of this object.
inherited
-
writeResponse(
WorkResponse response) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited