Is there an easy way to call an Ext.Direct method synchronously? In general I have no need for this but it would make automated testing of my remote method api easier/more straightforward ...

I'd like to be able to write something like Ext.Direct.synchronous_call(app.rpc.server_func, server_func_callback, other_args...)

and have the 'synchronous_call' method call not return until after the asynchronous callback has executed ... I'd tolerate some kind of ugly console output on each such call warning not to use this method except for testing purposes so that it doesn't encourage people to misuse synchronous methods in their browser applications ... Thoughts?