Flex : Is it possible to stop a remote call?

孤人 提交于 2019-12-01 11:41:44

As I understood it, an AsyncToken just provides extra data for some operation. You'll need to access that operation to cancel.

IF you're calling an HTTPService, you use the cancel() method.

If you're using a WebService, you should be able to call getOperation() method and then cancel() the corresponding operation.

If you're using a RemoteObject you should be able to call getOperation() method and then cancel() on the corresponding operation.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!