Exemplo n.º 1
0
 def factory(opts, **kwargs):
     return SyncWrapper(
         AsyncPullChannel.factory,
         (opts, ),
         kwargs,
         loop_kwarg="io_loop",
     )
Exemplo 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",
     )
Exemplo n.º 3
0
 def factory(opts, **kwargs):
     sync = SyncWrapper(AsyncPullChannel.factory, (opts,), kwargs)
     return sync
Exemplo 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