getAsync

external fun getAsync(id: String): Promise<Client?>(source)

The get() method of the Clients interface gets a service worker client matching a given id and returns it in a Promise.

MDN Reference