def auto_threaded(interface, reactor, sync, threadpool):
 return interface_decorator('auto_threaded', interface, _threaded_method, sync, reactor, threadpool)

def auto_threaded ( interface , reactor , sync , threadpool ) : return interface_decorator ( 'auto_threaded' , interface , _threaded_method , sync , reactor , threadpool )
create a class decorator which will add thread-based asynchronous versions of all of the methods on interface .