Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何向回调调用添加参数?
IE
定义测试(x,y,z) ... ... myobjectx.addCallback(测试)
定义测试(x,y,z) ... ...
myobjectx.addCallback(测试)
这将 myobjectx 作为 x 传递,但如何添加其他参数 y、z?
Deferred howto告诉您如何执行此操作。Deferred API 文档也是如此。