Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WinJSPromiseApi

Hierarchy

  • WinJSPromiseApi

Implements

Index

Accessors

Methods

Accessors

type

  • get type(): string
  • Returns 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

resolve

Generated using TypeDoc