AsyncService type

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.

Provides ability to perform async operations from business logic code.

Hierarchy

AsyncService

Index

Method list

Methods

all

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

Parameters

Name Type Description
...args any [ ]

Returns Promise <any [ ]>

defer

defer <>(): [Deferred](defer-ideferred.md) <>

Creates a deferred object that can be used to return a promise from event handlers (where applicable) and resolve/reject them asynchronously.

Returns Deferred <T>