getLastChecked

Returns the time since the last request was completed.

Syntax

js
let state = browser.captivePortal.getLastChecked()

Return value

A Promise that is fulfilled with an integer representing time in milliseconds.

Browser compatibility

BCD tables only load in the browser