gpt4 book ai didi

apache-flex - 使用 RemoteObject 的同步调用

转载 作者:行者123 更新时间:2023-12-04 19:45:36 24 4
gpt4 key购买 nike

有没有办法在 Flex 中使用 RemoteObject 进行同步调用?

最佳答案

Flex 中的所有 IO 都是异步的。处理此问题的典型模式是使用 AsyncResponder .例如:

var t:AsyncToken = remoteObject.methodCall();
t.addResponder(new AsyncResponder(resultEvent, faultEvent));

关于apache-flex - 使用 RemoteObject 的同步调用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/708338/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com