method WatchSession.abort
WatchSession.abort(): void

Tells the browser to drop the rest of the current run's queue.

Fire-and-forget by design: it is a message to a page that may not be running anything, and the run it interrupts settles through its own normal path. Awaiting the interrupted run is what the caller already holds a promise for.

Return Type

void

Usage

import { type WatchSession } from "lib/commands/test.ts";