NarraLeaf

NotificationToken

The handle returned when showing a notification: a `cancel()` method plus a `promise` that resolves once the notification is consumed.

interface NotificationToken extends LiveGameEventToken {
    promise: Promise<void>;
}

For LiveGameEventToken, see LiveGameEventToken

promise

The promise that will be resolved when the notification is consumed (finished)

On this page