Skip to content

NavigationPreloadManager

Values

disable

let disable: WebAPI.ServiceWorkerAPI.navigationPreloadManager => promise<
unit,
>

Parameters

WebAPI.ServiceWorkerAPI.navigationPreloadManager

Return type

promise< unit >

enable

let enable: WebAPI.ServiceWorkerAPI.navigationPreloadManager => promise<
unit,
>

Parameters

WebAPI.ServiceWorkerAPI.navigationPreloadManager

Return type

promise< unit >

getState

let getState: WebAPI.ServiceWorkerAPI.navigationPreloadManager => promise<
WebAPI.ServiceWorkerAPI.navigationPreloadState,
>

setHeaderValue

let setHeaderValue: (
WebAPI.ServiceWorkerAPI.navigationPreloadManager,
string,
) => promise<unit>

Parameters

WebAPI.ServiceWorkerAPI.navigationPreloadManager string

Return type

promise< unit >