TaskHandle constructor

TaskHandle(
  1. bool cancelLambda(),
  2. bool isFinishedGetLambda(),
  3. bool isCancelledGetLambda()
)

Handle used for the manipulation of the task.

Implementation

factory TaskHandle(
  bool Function() cancelLambda,
  bool Function() isFinishedGetLambda,
  bool Function() isCancelledGetLambda
) => TaskHandle$Lambdas(
  cancelLambda,
  isFinishedGetLambda,
  isCancelledGetLambda
);