Esempio n. 1
0
 def factory(opts, **kwargs):
     return SyncWrapper(
         AsyncPullChannel.factory,
         (opts, ),
         kwargs,
         loop_kwarg="io_loop",
     )
Esempio n. 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",
     )
Esempio n. 3
0
 def factory(opts, **kwargs):
     sync = SyncWrapper(AsyncPullChannel.factory, (opts,), kwargs)
     return sync
Esempio n. 4
0
 def factory(opts, **kwargs):
     # All Sync interfaces are just wrappers around the Async ones
     sync = SyncWrapper(AsyncReqChannel.factory, (opts,), kwargs)
     return sync