• Helper function to emit a success notification.

    Notes

    The message will be truncated if longer than 140 characters.

    Type Parameters

    • T extends ReadonlyJSONValue = ReadonlyJSONValue

    Parameters

    • message: string

      Notification message

    • options: Notification.IOptions<T> = {}

      Options for the success notification

    Returns string

    Notification unique id