t.i.t.blockingCallFromThread(reactor, f, *a, **kw) : function documentation

Part of twisted.internet.threads View Source

Run a function in the reactor from a thread, and wait for the result synchronously, i.e. until the callback chain returned by the function get a result.
ParametersreactorThe IReactorThreads provider which will be used to schedule the function call.
fthe callable to run in the reactor thread (type: any callable. )
athe arguments to pass to f.
kwthe keyword arguments to pass to f.
Returnsthe result of the callback chain.
Raisesany error raised during the callback chain.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:17:34.