Interface for asynchronous promises. Based on JQuery Promise

Type Parameters

  • T

Hierarchy

  • PromiseLike

Methods

  • UNDOCUMENTED (Web Client only): Add handlers to be called when the Deferred object is either resolved or rejected.

    Type Parameters

    • U

    Parameters

    Returns PromiseLike<U>

  • UNDOCUMENTED (Unified Client only): Add handlers to be called when the Deferred object is rejected.

    Type Parameters

    • U

    Parameters

    Returns PromiseLike<U>

  • UNDOCUMENTED (Web Client only) Add handlers to be called when the Deferred object is rejected.

    Type Parameters

    • U

    Parameters

    Returns PromiseLike<U>

  • UNDOCUMENTED (Unified Client only): Add handlers to be called when the Deferred object is either resolved or rejected.

    Type Parameters

    • U

    Parameters

    Returns PromiseLike<U>

  • Attaches callbacks for the resolution and/or rejection of the Promise.

    Type Parameters

    • U

    Parameters

    Returns PromiseLike<U>

    A Promise for the completion of which ever callback is executed.

  • Type Parameters

    • U

    Parameters

    • Optional onFulfilled: ((value) => U | PromiseLike<U>)
    • Optional onRejected: ((error) => void)
        • (error): void
        • Parameters

          • error: any

          Returns void

    Returns PromiseLike<U>

Generated using TypeDoc