cancel method

void cancel(
  1. dynamic bind
)

Implementation

void cancel(dynamic bind) {
  if (!cancelTokenMap.containsKey(bind)) return;
  cancelTokenMap[bind]?.forEach((element) {
    element.cancel();
  });
  cancelTokenMap.remove(bind);
  logV("[CancelTokenPool] cancel all $bind");
}