lc.foundation.util 套件包含的類別與組件,對於處理來自 Document 伺服器的訊息非常有用。這些類別對於處理來自資料提供者的非同步呼叫非常有用。
函數
| 函數 | 說明 | |
|---|---|---|
| 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, 04:01 PM Z