EasyCompute<R, I> constructor

EasyCompute<R, I>(
  1. ComputeEntrypoint<I> entrypoint, {
  2. required String workerName,
  3. Duration? timeoutDuration,
})

Implementation

EasyCompute(
  ComputeEntrypoint<I> entrypoint, {
  required String workerName,
  this.timeoutDuration,
}) : super(entrypoint, workerName: workerName) {
  _subscription = onMessage(onData);
}