mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-11 19:09:20 +00:00
style(cli): drop the page-step comment, its reasoning lives in the PR
This commit is contained in:
@@ -87,8 +87,6 @@ const PAGE_STEP_CAP_MS = 30_000;
|
||||
|
||||
export type PageStepOutcome<T> = { kind: "done"; value: T } | { kind: "timed-out" };
|
||||
|
||||
// One in-page capture step, capped so a hung page cannot spend the whole capture budget. On
|
||||
// overrun a running page script is terminated; a step awaiting the network is abandoned.
|
||||
export async function runPageStep<T>(
|
||||
step: () => Promise<T>,
|
||||
opts: { label: string; stopPageScript: () => Promise<unknown>; capMs?: number },
|
||||
|
||||
Reference in New Issue
Block a user