Düzenle

Aracılığıyla paylaş


Defer module

Important

The finance and operations (Dynamics 365) mobile app and platform are no longer supported. The platform components supporting the mobile app will be removed in a future update. The mobile app has also been removed from app stores. Previously installed instances of the app will continue to work. For more information, see Removed or deprecated platform features.

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>