Saltar al contenido principal

Function: backgroundBrowser()

function backgroundBrowser(profileDir): Promise<BackgroundBrowser | undefined>;

Defined in: browser/background.ts:72

The browser another process keeps open on profileDir (the moodle open command's), or undefined when there's none. A .browser.json left by a process that's gone is removed.

Parameters​

ParameterType
profileDirstring

Returns​

Promise<BackgroundBrowser | undefined>