Пример #1
0
 def factory(opts, **kwargs):
     # All Sync interfaces are just wrappers around the Async ones
     sync = SyncWrapper(AsyncReqChannel.factory, (opts, ), kwargs)
     return sync
Пример #2
0
 def factory(opts, **kwargs):
     sync = SyncWrapper(AsyncPullChannel.factory, (opts, ), kwargs)
     return sync
 def factory(opts, **kwargs):
     """TODO."""
     # All Sync interfaces are just wrappers around the Async ones
     sync = SyncWrapper(InfLearn_AsyncChannel.factory, (opts, ), kwargs)
     return sync