unsubscribeAsync

fun unsubscribeAsync(): Promise<ERROR CLASS: Symbol not found for JsBoolean>(source)

The unsubscribe() method of the PushSubscription interface returns a Promise that resolves to a boolean value when the current subscription is successfully unsubscribed.

MDN Reference