cancel method

  1. @override
Future<bool?> cancel(
  1. String taskId, {
  2. Context? ctx,
})
override

Cancel Attempts to cancel the {@link tech.firmer.mesh.types.Timeout} associated with this handle. If the task has been executed or cancelled already, it will return with no side effect.

Implementation

@override
Future<bool?> cancel(String taskId, {Context? ctx}) async {
  return await _h.invoke(this, _methods['cancel']!, [taskId], ctx);
}