computeFunction property

ComputeCallback<TInput, TOutput> computeFunction
final

The top-level/static function applied to each event on a background isolate. A closure capturing state cannot be sent across the isolate boundary and will fail at compute() time — this is why the type is ComputeCallback, not an arbitrary lambda.

Implementation

final ComputeCallback<TInput, TOutput> computeFunction;