Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPromiseApi

Hierarchy

  • IPromiseApi

Implemented by

Index

Properties

Methods

Properties

type

type: string

Methods

create

  • create<T>(init?: function, onCancel?: Function): IPromise<T>
  • Type parameters

    • T

    Parameters

    • Optional init: function
        • (completeDispatch: any, errorDispatch: any, progressDispatch: any): void
        • Parameters

          • completeDispatch: any
          • errorDispatch: any
          • progressDispatch: any

          Returns void

    • Optional onCancel: Function

    Returns IPromise<T>

reject

  • Type parameters

    • U

    Parameters

    Returns IPromise<U>

resolve

  • Type parameters

    • U

    Parameters

    Returns IPromise<U>

Generated using TypeDoc