code: function abortSignal(signal) {
      if (abortedFlags.get(signal) !== false) {
          return;
      }
      abortedFlags.set(signal, true);
      signal.dispatchEvent({ type: "abort" });
  }
docs: Abort a given signal.