import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { SetVirtualTimePolicyRequest } = Protocol.Emulation;
Properties
policy: VirtualTimePolicy
If set, after this many virtual milliseconds have elapsed virtual time will be paused and a virtualTimeBudgetExpired event is sent.
optional
maxVirtualTimeTaskStarvationCount: integerIf set this specifies the maximum number of tasks that can be run before virtual is forced forwards to prevent deadlock.
optional
initialVirtualTime: Network.TimeSinceEpochIf set, base::Time::Now will be overridden to initially return this value.