Skip to main content
Go to Latest
type alias default.Emulation.VirtualTimePolicy
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { VirtualTimePolicy } = default.Emulation;

advance: If the scheduler runs out of immediate work, the virtual time base may fast forward to allow the next delayed task (if any) to run; pause: The virtual time base may not advance; pauseIfNetworkFetchesPending: The virtual time base may not advance if there are any pending resource fetches.

definition: ("advance" | "pause" | "pauseIfNetworkFetchesPending")