workbox-core
Version:
This module is used by a number of the other Workbox modules to share common code.
13 lines (12 loc) • 474 B
TypeScript
import '../_version.js';
/**
* Returns a promise that resolves to a window client matching the passed
* `resultingClientId`. For browsers that don't support `resultingClientId`
* or if waiting for the resulting client to apper takes too long, resolve to
* `undefined`.
*
* @param {string} [resultingClientId]
* @return {Promise<Client|undefined>}
* @private
*/
export declare function resultingClientExists(resultingClientId?: string): Promise<Client | undefined>;