IsolateStreamComputeImpl typedef

IsolateStreamComputeImpl = Future<R> Function<Q, R>(IsolateStream<Q, R> callback, Q message, {String? debugLabel})

Data type of the implementation of the stream function.

Can be used as data type for the stream function, for example when returning the StatefulIsolate.computeStream as a return type of a function.

Implementation

typedef IsolateStreamComputeImpl = Future<R> Function<Q, R>(
  IsolateStream<Q, R> callback,
  Q message, {
  String? debugLabel,
});