Notification manager

Implements

Constructors

Properties

_isDisposed: boolean
_queue: INotification<ReadonlyJSONValue>[]

Accessors

Methods

  • Add a new notification.

    This will trigger the changed signal with an added event.

    Type Parameters

    • T extends ReadonlyJSONValue = ReadonlyJSONValue

    Parameters

    Returns string

    Notification unique id

  • Update an existing notification.

    If the notification does not exists this won't do anything.

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

    Type Parameters

    • T extends ReadonlyJSONValue = ReadonlyJSONValue

    Parameters

    Returns boolean

    Whether the update was successful or not.