Example #1
0
 def spawn(ticket, pool=None):
     if pool is not None:
         return pool.spawn(ticket.request_sign_out)
     return gevent.spawn(ticket.request_sign_out)
Example #2
0
 def spawn(ticket, pool=None):
     if pool is not None:
         return pool.spawn(ticket.request_sign_out)
     return gevent.spawn(ticket.request_sign_out)