method WatchSession.close
WatchSession.close(): Promise<void>

Stops watching, closes the browser and server, and ends the iteration. Idempotent.

Return Type

Promise<void>

Usage

import { type WatchSession } from "lib/api/watch.ts";