def __call__(self, **kwargs):
        """Register events; and callbacks then return a `asyncio.Future`.
        Events regexp are compiled with `params`"""
        kwargs.setdefault('timeout', self.timeout)
        kwargs.setdefault('send_line', self.send_line)
        kwargs['process_results'] = self.process_results
        return async_events(self.context, self.events, **kwargs)
def __call__ ( self , ** kwargs ) : kwargs . setdefault ( 'timeout' , self . timeout ) kwargs . setdefault ( 'send_line' , self . send_line ) kwargs [ 'process_results' ] = self . process_results return async_events ( self . context , self . events , ** kwargs )
Register events; and callbacks then return a `asyncio.Future`.
        Events regexp are compiled with `params`