Defer

Index

Types

Functions

Types

Deferred

Hierarchy

Deferred

Properties

Name Signature Description
promise promise: Promise <T>

Methods

Name Signature Description
reject reject(error?: any): void
resolve resolve(value?: T | PromiseLike <T>): void

Functions

all

all(...args: any [ ]): Promise <any [ ]>

Parameters

Name Type Description
...args any [ ]

Returns Promise <any [ ]>

defer

defer <T>(): Deferred <T>

Returns Deferred <T>

reject

reject(error?: any): Promise <any>

Parameters

Name Type Description
error? any

Returns Promise <any>

resolve

resolve <T>(value?: T | PromiseLike <T>): Promise <T>

Parameters

Name Type Description
value? T | PromiseLike <T>

Returns Promise <T>