showNotificationAsync

fun showNotificationAsync(title: String, options: NotificationOptions = definedExternally): Promise<Void?>(source)

The showNotification() method of the ServiceWorkerRegistration interface creates a notification on an active service worker.

MDN Reference