method WatchSession.events
WatchSession.events(): Stream<RunEvent>

The fine-grained feed: every event of every run, flat and in order, until the session closes.

The same events for a watch session as for a single run, so a UI written against one works against the other — runStarttestrunEnd, then again for the next rerun. Iterating the session itself gives the coarse view (one complete result per rerun); this gives the view a progress bar needs.

Buffers from the first call, not from the first read, so events between calling this and starting to iterate are not lost. One consumer, like the session's own iteration.

Return Type

Usage

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