• Helper function to update a notification.

    If the notification does not exists, nothing will happen.

    Once updated the notification will be moved at the begin of the notification stack.

    Notes

    The message will be truncated if longer than 140 characters.

    Type Parameters

    • T extends ReadonlyJSONValue = ReadonlyJSONValue

    Parameters

    Returns boolean

    Whether the update was successful or not.