lc.foundation.util 包中包含对于处理来自 Document Server 的消息非常有用的类和组件。这些类对于处理来自数据提供程序的异步调用非常有用。
函数
| 函数 | 说明 | |
|---|---|---|
| addOneShotEventListener | Add an event listener to the specified event dispatcher ensuring that it will only fire once. | |
| addParams | Create an adapter function that calls the provided function with the provided parameters, appending any parameters passed in when it is invoked. | 
类
| 类 | 说明 | |
|---|---|---|
| CollectionToken | The CollectionToken class represents a token for asynchronous calls that return a collection. | |
| CompositeMessage | The CompositeMessage class encapsulates a composite message. | |
| DefaultResponder | The DefaultResponder class is an implementation of the mx.rpc.IResponder interface. | |
| ObjectToken | The ObjectToken class represents a token for an asynchronous call that returns an object. | |
| Token | The Token class provides a mechanism to specify handlers for asynchronous calls. | 
Tue Jun 12 2018, 11:18 AM Z