Exemple #1
0
 def __init__(self, *args, **kwargs):
     ''' Constructor '''
     self._new_response = trio.Event()
     self._nursery = kwargs.pop('nursery')
     Cursor.__init__(self, *args, **kwargs)
Exemple #2
0
 def __init__(self, *args, **kwargs):
     Cursor.__init__(self, *args, **kwargs)
     self.new_response = asyncio.Future()
Exemple #3
0
 def __init__(self, *args, **kwargs):
     """ Constructor """
     self._new_response = trio.Event()
     self._nursery = kwargs.pop("nursery")
     Cursor.__init__(self, *args, **kwargs)