Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/astral/bindings/celestial.ts>Preload_PreloadingAttemptSource

A high-level puppeteer/playwright-like library for Deno
Go to Latest
type alias Preload_PreloadingAttemptSource
import { type Preload_PreloadingAttemptSource } from "https://deno.land/x/astral@0.3.1/bindings/celestial.ts";

Lists sources for a preloading attempt, specifically the ids of rule sets that had a speculation rule that triggered the attempt, and the BackendNodeIds of or elements that triggered the attempt (in the case of attempts triggered by a document rule). It is possible for mulitple rule sets and links to trigger a single attempt.

definition: { key: Preload_PreloadingAttemptKey; ruleSetIds: Preload_RuleSetId[]; nodeIds: DOM_BackendNodeId[]; }