NOTE
Experimental The
LaunchQueue interface of the {{domxref("Launch Handler API", "Launch Handler API", "", "nocode")}} is available via the
LaunchQueue property. When a
progressive web app (PWA) is launched with a
launch_handler client_mode value of
focus-existing,
navigate-new, or
navigate-existing,
LaunchQueue provides access to functionality that allows custom launch navigation handling to be implemented in the PWA. This functionality is controlled by the properties of the
LaunchParams object passed into the
SetConsumer(LaunchConsumer) callback function.
NOTE
Experimental The
setConsumer() method of the
LaunchQueue interface is used to declare the callback that will handle custom launch navigation handling in a
progressive web app (PWA). Such custom navigation is initiated via
LaunchQueue when a PWA has been launched with a
launch_handler client_mode value of
focus-existing,
navigate-new, or
navigate-existing.