Provides ability to perform async operations from business logic code.
all(...args: any [ ]): Promise <any [ ]>
|...args||any [ ]|
Returns Promise <any [ ]>
defer <T>(): Deferred <T>
Creates a deferred object which can be used to return a promise from event handlers (where applicable) and resolve/reject them asynchronously.