Exemple #1
0
 def factory(opts, **kwargs):
     return SyncWrapper(
         AsyncPullChannel.factory,
         (opts, ),
         kwargs,
         loop_kwarg="io_loop",
     )
Exemple #2
0
 def factory(opts, **kwargs):
     # All Sync interfaces are just wrappers around the Async ones
     return SyncWrapper(
         AsyncReqChannel.factory,
         (opts, ),
         kwargs,
         loop_kwarg="io_loop",
     )
Exemple #3
0
 def factory(opts, **kwargs):
     sync = SyncWrapper(AsyncPullChannel.factory, (opts,), kwargs)
     return sync
Exemple #4
0
 def factory(opts, **kwargs):
     # All Sync interfaces are just wrappers around the Async ones
     sync = SyncWrapper(AsyncReqChannel.factory, (opts,), kwargs)
     return sync