В пакете com.adobe.gravity.utility.async содержатся служебные классы для управления асинхронными операциями в Adobe Digital Enterprise Platform Experience Services - Client Component Framework.
Функции
| Функция | Описание |
---|
| addHandlers |
A convenience function for adding a success and fault handler without declaring a local variable. |
| addParams |
Create an adapter function that calls the provided function with the provided parameters,
appending any parameters passed in when it is invoked. |
| fixParams |
Create an adapter function that calls the provided function with the provided parameters,
ignoring any parameters passed in when it is invoked. |
| injector |
A convenience method for a success handler. |
Интерфейсы
| Интерфейс | Описание |
---|
| IToken |
IToken objects are returned from functions that initiate asynchronous operations. |
Классы
| Класс | Описание |
---|
| AggregatingToken |
AggregatingToken objects are returned from functions that initiate multiple asynchronous operations
and must accumulate the results. |
| AggregatingTokenError |
An AggregatingTokenError is passed to fault handlers added to an AggregatingToken if faults occur
on an aggregated token. |
| Deferred |
Utility class to allow a method to be deferred until "the next stack frame". |
| HandlerHolder |
A utility class to hold a set of handlers and call them. |
| ImmediateFaultToken |
ImmediateFaultToken is an implementation of IToken that simply calls the fault handlers
"immediately" (on the next stack frame, so that recipients can add handlers to the
token first). |
| ImmediateSuccessToken |
ImmediateSuccessToken is an implementation of IToken that simply calls the success handlers
"immediately" (on the next stack frame, so that recipients can add handlers to the
token first). |
| OpaqueWrapperToken |
OpaqueWrapperToken wraps another token, calling successHandlers with no parameters. |
| Token |
Token objects are returned from functions that initiate asynchronous operations. |
© 2015 Adobe Systems Incorporated. All rights reserved.
Tue Jun 12 2018, 11:49 AM Z