supportsCancellation static method

bool supportsCancellation(
  1. Map<String, dynamic>? annotations
)

Check if a tool supports cancellation

Implementation

static bool supportsCancellation(Map<String, dynamic>? annotations) {
  return annotations?[ToolAnnotationKeys.supportsCancellation] == true;
}